I've had good managers, and I've had good relationships with my managers in general, and my managers have usually been very happy with me.
But—I once got to visit the people who did a menial task for a Very Large Software Company That Pays Very Very Well. They were contractors (so the company wouldn't have to pay them benefits), they got paid low enough wages that the state would have to pay for their health insurance (we should have Medicare for All, but lacking that the company can damn well afford to pay for insurance).
I'm sure there are worse jobs, but it was a shit job, and the company could've afforded to pay them better and give them actual benefits.
A software engineer at same company would get paid top notch dollar and would be treated very very well. Why? Because the company has no choice, the market is very tight for hiring programmers right now. If the company could, they'd be treating the software engineers just as badly—think of all the savings.
A thought exercise: at how many companies can a software engineer, however well paid they are, complain to HR about sexual harassment by an executive and actually get real follow-up? (Asking the executive to leave with a multi-million-dollar check doesn't count as real follow-up.)
My guess is the percentage is less than 1. Possibly there are no such companies.
In the end we're workers, just like minimum wage workers.