But it didn't have to be.
Yes it did. It has played out many times and always with the same result.
Karl Marx predicted all of this. From industrialization to automation to globalization to revolution. Marx saw religion as a tool of the Bourgeoisie to give false hope to the Proletariat. Yet he also saw it as a drug to ease the pain of the workers caught in squalid conditions and unable to rise above them.
"Religion is the sigh of the oppressed creature, the heart of a heartless world, and the soul of soulless conditions. It is the opium of the people"Karl Marx
Capitalism is unfolding exactly as Marx predicted
Marx showed that recurrent crises were not an accidental side effect of capitalism, but a necessary and inherent feature, explains Nick Nesbitt, Princeton University professor of French and Italian and editor of The Concept in Crisis: Reading Capital Today. “​He shows that the source of value in capitalism is living labor. He also shows that capitalism nonetheless tends to eliminate living labor as a necessary dimension of its development,” Nesbitt says. That contradiction means capitalism is never stable, but forever shifting in and out of crises: The system depends on human labor while simultaneously eradicating it.