Been going through a bit of the same myself and it's not an easy cycle to break out of. Instead of breaking out of it, I've been trying to appreciate and count the misery as part of the cycle that will eventually pass. I'm sure you're on the right track.