I worked for a kind of IT outsourcing center for a company that otherwise had a very good reputation. We were their cheap, crappy branch. They still had decent severance packages as a vestige of when they used to be a decent company. When they had a round of layoffs at our site, after a few days of calling people into the office and seeing them come out crying, I started to do the math. I would be paid well enough for a few months if I got laid off. I would finally have the time and mental energy to job search and move on. At the end of the week, when they announced that all of the people had been laid off that would be affected, I found I was disapointed. That's when I realized how truly toxic that place was, how much I hated it, and how badly I needed to move on.
I ended up working for a bank next as a contractor. The grass was greener on the other side of the fence, but not by as much as I hoped. I used the skills I learned there and my increase in pay as a springboard for finding a better job with slightly higher pay as a regular employee elsewhere at a small healthcare company.