I am going through the same thing right now. I know what it's like looking ahead and seeing nothing worth living for. It is a lot easier to give advice than to receive it, but if you got through it once there is hope. Happiness may seem far away almost impossible to reach, but it is obtainable. One time in therapy my psychiatrist made me read a children's book about depression. It compared depression to monsters. All through the book there was a monster in the background. Sometimes the little kid would be happy and the monster would be in the background then other times he would be up close and making the child sad and scared. Eventually the kid got help and made friends that helped him. He came up with ways to scare the monsters away. In the end it said that even though the monsters will always be lurking somewhere in your life, it doesn't mean that you can't stay happy.
That story stuck with me.
I always seem to get better then the depression comes back full force, but so far I have been able to get through it each time. Every time there are new and more painful things to deal with but we can adapt.
Like I said, I literally have been and am in the same boat you are, but hopefully we will both get better again and be able to keep the monsters away this time.
Get better.