Unfortunately anxiety and depression have a bad habit of clouding your view of what is really happening in your life. I have found that most people, once they know you are having difficulties, are quite supportive. When I first experienced anxiety I was desperate to hide it from everyone but after a while I began to see that almost everyone has had some kind of experience with neurotic illness.
I know it sounds trite, but anyone who ditches you as a mate when you get depressed or anxious probably wasn't a good mate in the first place.
Good luck with it all.