Anyone who's depressed is depressed for a valid reason, whether they recognize that or not. Everyone goes through bouts of not having friends or significant others, it's just the degree that you feel the pain of it. You should focus on taking care of yourself right now, rather than thinking about how you have no friends. It's definitely easier said than done, but you can do it if you try.