Reading all your posts, it's hard to see how you could have made a better decision for yourself. I think you absolutely did the right thing. Sounds like there are some toxic elements to your workplace and much as you might want to have a positive impact on them and change things for the better, without support (to do the right thing) from upper management, you'd get ground down trying to change the culture alone and even worse, possibly end up the scapegoat.
Smart choice!
Becca44