My suggestion to you is: find what it is that makes you happy and focus on that. Working out will definitely help your mood, plus it clears your head, but surely there are other things you can do for yourself. Pursue your other interests. If you're working on your diet, that's great, try out a new healthy recipe every day. Learn more about food that's good for you and experiment with it. Surround yourself with people who make you feel good. Maybe you can visit some new places, just local places that you've never visited before, you don't have to take a trip to another country if you can't afford it. Go out and get some fresh air, enjoy the beauty of nature. Read more about your favorite topics. Try to learn how you can improve your chances of getting a new job. Maybe there's a skill you can develop further. I find all these things helpful when I'm dealing with a bad experience, but sometimes even the stupidest things like watching a good comedy show can make my day. Basically you just have to remind yourself that what happened was just one segment of your life, there is a lot more for you to live for. Also, when faced with a problem/hardship, I try to look at it from a different perspective: what if this happened to my best friend/sister, etc.? What advice would I give them? How would I help them find a constructive way to deal with the situation? How would I comfort them? Then I apply the advice to myself.