The pain in programming is that we have this 21st-century superpower but the only way we can make money is to suit 19th-century industrial masters who don't understand what's
possible with technology. They just want us to point our magical tech wands at their existing machines and make them run faster. If we do this kind of thing for too long (and it's the only way to get a reliable income) we lose that "superpower" and become ordinary due to creative atrophy. Then we're fired and replaced by young idiots who think the all-nighters and low autonomy are paving the way to millions, and who will therefore tolerate more bullshit because they haven't seen yet that all the suffering leads nowhere.
Markets and capitalism are supposed to fix this fundamental problem (archaic, stupid leadership) by reallocating resources where they can be best put to use, by this isn't a problem that mere computation (as in a market) can solve. The problem is that power is held by the wrong fucking people, most of whom are total imbeciles with no vision, and the runaway feedback loop where power and wealth beget same is too far gone for talent to break in and change things.
US-style corporate capitalism is an outright disaster but, while EU-style socialism makes life suck a lot less for average people, it doesn't solve the underlying problem either.
Eventually, the discrepancy between what's possible with technical creativity and what's being actually done out there will reach a critical point and, like an insulator breakdown, sudden and powerful change will happen. I have absolutely no idea when that will happen, though. We have to purge and recreate the whole industrial ecosystem in order to get to the kind of world that people like you and me want-- a world driven by creativity and challenging problems rather than subordination and nonsense.