A large part of the problem is political cronyism and the incredibly tedious culture that develops when you get a lot of people with very few skills together to talk about something they know nothing about.
I'd legitimately take less money if I could somehow be convinced an employer isn't a piece of shit. If I'm going to work for an asshole, I will be well paid. I think this is a reasonable stance most people in the space take. That, or retiring and having a communal garden.