I think the unwritten qualification is "If it's a bad environment".
"If it's a bad environment -- it never gets better, there is no good fight, and you should flee to save yourself."
It's very possible to find places that are good to work at. It's highly unlikely for a shitty environment to get significantly better.