Good or bad...what's that word (arg) it's a Greek principle - Pythagorean I think. Basically it's an understanding of duality. Nothing is ever completely good, nor negative in its entirety.
Breaking out of a bad situation takes bravery in facing the unknowns. Misery, that dread thing so thick you could cut it with a knife is usually an indicator we've outgrown something, a relationship, habit, even an area of creativity or job.
I remember going through almost the exact same thing. I even used the words you did to describe. I was actually nauseous going to a job that had taken a less moral direction. I'd cry on my way to work, compose and go into robot mode.
For the heck of it, I stopped by an office that had a Help Wanted sign and met the most wonderful woman. I had a new job 2 weeks later.
There's a book if you get a chance. What Color is Your Parachute? I think that's it. Big book and you might only get one paragraph out of it that stays with you, but inspiration is something we can find and create simply in the unknown.