Remember, the feeling of defeat or hopelessness is only a feeling. Try and treat feelings like clouds in the sky: part of the weather, but not the end-all of reality, just passing events.
The goals you have, friendships, romantic relationships and children are all worthwhile goals.
Therapy can...