Giving up

Due to my depression and anxiety at an early age I have never had good friends. I've been befriended and left so many times which has caused a whole other issue I won't get into right now...but lately I was feeling lonely and tried being more social. And I went and hung out with 3 different people. All of which ended with me feeling like shit and regretting it. I don't think I want to try anymore. Maybe I need to accept I may never have a friend.