Doing good work leads you nowhere. You need to be in the game of power. Be visible, know every 3 levels of managers by name. Otherwise you’re only number in payroll’s sheet. Modern tech companies are not different from world war 2 era factories imho. Account xyz@bigcompany pushing lines of code to endless repo. No face, no name. Boring. Boring reasonable and reliable. That’s not what hiring people are looking for. You must be a rockstar, conference speaker and leader of few open source projects now. Skills, experience and good work ethic is not enough.
For all of this fear and loathing, I am just a regular guy with a regular tech job and there are dozens of people like me at work. They’re all there because they do good work.