One Hundred Years of Solitude uses the real-life civil wars that plagued Colombia for decades as the basis for Colonel Aureliano Buendía's rebellion. It also uses the historically factual massacre of banana plantation workers by soldiers colluding with the United Fruit Company as the basis for the novel's massacre. This historical borrowing allows García Márquez to take a somewhat heavy-handed approach to war. War is branded, at best, as a pointless exercise for showing an unflagging commitment to a cause, and at worst the most brutal and savage kind of violence that humans can perpetrate against each other.
The book is torn between its clear distaste for war as a solution to political problems and its clear admiration of individual feats of bravery performed in battle.
The moment of greatest moral decay in the book comes when the townspeople refuse to believe José Arcadio Segundo's story about the banana workers' massacre. At this point we know that Macondo is completely doomed.