Great example of the base informing the superstructure, IMO. "Original sin" was always a concept in Christianity, but with the Protestant Reformation developing alongside capitalism - and the development of a "bourgeois religion" - you get ideologies like "total depravity" and the idea that humans are by nature corrupted by sin and can only do bad thing other than by the grace of God.
And guess what?! Seeing humanity as completely fallen and "sinful" means that any hope of a better future on earth will ultimately be futile. So don't even try... because "muh human nature".