Never ever ever stay where someone treats you badly. There are great leaders out there, go work for them. I ask questions in my interviews to get at what kind of leader I'll be working for and that's the #1 consideration for me. I want to work with people who care.
By the same token, I try to take excellent care of my teammates and coworkers who report to me. The primary way I do this is by reporting to them as well.
I've worked with people who would self-report feelings of being mistreated, but the real reason was that they were underperforming and the boss was not giving them the appreciation they mistakenly thought that they deserved. Their ego couldn't handle being rightly terminated or reprimanded, and they'd respond by forming uncharitably negative opinions about their prior boss, when it was their incompetence or negative attitude that was the issue.
So I always interpret such anecdotes very sceptically unless it's a particularly egregious account, unless I've witnessed it directly, or unless I know that I can trust them.
It didn't start out that way. I worked in the same place for a lot of years, but it started deteriorating rapidly when new management came in, they tried to push "Agile", etc. I don't work there any more. Even when it was good for me, I would still here stories from friends and colleagues in other places about terrible management.
By the same token, I try to take excellent care of my teammates and coworkers who report to me. The primary way I do this is by reporting to them as well.