Toxic workplaces can literally be trauma. I went for therapy at one point, and got a formal diagnosis of PTSD, traced back to my work environment. It is an area of our industry that I feel needs more recognition, as there are a ton of miserable software people in this world. Not all of us, to be sure - some places are terrific, successful, and people really do love it. But that is nowhere near universal, or in my experience even common.
I do feel we need to step up and be more demanding for healthy environments. We get healthy salaries and perks, but wads of cash don't fix trauma. Bad management is not just harmful to the business, it harms us as people. And we need to set boundaries on what is/not acceptable.
Since I've started being downright harsh with my boundaries at work, I've been happier. It also has forced my employer to recognize that they cannot just run me into the ground. I do less. I drop things. Stuff doesn't go as well as it used to - but I'm healthier, and the leadership is actually talking about how to make the environment sustainable. And ironically, I'm getting just as much if not more respect now than I did when I was getting more done.