I just wrote this and then had a look at the thread to see where it is going and want to preface it by saying I am not judging in any way people who don't have or want friends - but OP you said in your original post that you didn't 'see what people get out of friendship' and I wanted to give you a different perspective as someone who does get a lot out of friendship.
Also I think it is very sad if the reason that you hold the beliefs you do is because your parents told you that they didn't 'want me to get to close as it only make me more damaged when it failed' - that is presumably them projecting on to you & it is utter bollocks. If you are entering into friendships presuming they will fail then they probably will. Some counselling might help you change your view on that as it sounds like such a negative outlook and there is no need for it.
So this is (an entirely personal view) on what I 'get' out of friendship:
I adore my friends - have lots of wonderful people in my life that make me happy and without them the world would be a smaller and less colourful place, plus I would laugh a lot less!
I've never in my life 'had trouble' with a real friend. My friends have supported me, made me feel comfortable in myself and accepted me for who I am (therefore I have accepted and am happy in myself) I've been on big and small adventures with them, travelled with them, partied - a lot, they have made me cry with laughter and see the positives in life when things are hard, given me perspective, talked and talked about everything happy and sad. I enjoy my one-to-one friends (some of whom are exclusively that, don't like groups) and also big group friends. Everyone is different and that is lovely, the diversity of personalities makes the world a more interesting place.
When I have spent time with my friends I feel happy, like heart bursting happy - especially after a brilliant weekend with music and wine and surrounded by people I love I feel like I can face almost anything. If anything it makes me better at being independent as I feel strong in myself, in my choices and decisions and opinions.
Perhaps it is down to whether you have found your people yet & if you haven't then keep looking, it is worthwhile. Meanwhile, you sound unhappy and influenced negatively by your parents - there are lots of resources available to get help if you want to change that situation.