Doing math is good for depression. I know it sounds weird, but it works. Your mind changes because you are solving problems instead of being stuck. It is not a permanent solution, but is does give you a break. I know how it feels to be without hope. The worse is that you think of killing yourself and it doesn't seem like it will solve anything either. Like you will keep on going on your shit.