There was an episode of Arrested Development where Michael Bluth ( Jason Bateman) announced he was tired of the Bluth family, their problems, and trying to fix everything his father and family destroyed. He kept saying he wanted to leave, no one cared. He said everything would fall to shreds without him. No one cared. He came back. In the end, he wanted to be needed and simply was the kind of person who liked to enable other people but resent them for it.
I'd worry less about where you will work next or what happens at your job compared to why you are the kind of person who enables your own resentment. You hate it there, but you are there.
Finding peace comes from the inside. True happiness, if it can be found, comes from the inside. And no one can take that from you, it's only something you give away.
Something I've learned with age is how to just try to be content and grateful for the things I have right now, given the time and place. Gratitude is a skill a lot of people still need to learn. Hopefully you'll learn faster than I did. If it's any solace, look around these forums, there are people who will never understand it.