I don't think that there is anything wrong with you. Wrong in the case of human interactions seems to imply "broken". Some kind of dysfunction. Like you are just some kind of wind up toy.
Think about this like hunger. When you are hungry you eat. When you are out of breath you breathe harder. You have needs and you take in the environment to meet those needs. The same thing happens with emotional needs. When you feel lonely you seek companionship. What you see as other people finding value in each other is effectively the same thing as watching someone eat or breathe. People take in the world around them to satiate themselves. This sometimes means taking in people.
I think becoming more independent and aware of who you are, the more clarity you posses about your past, the more you can form your own opinions and thoughts on any given subject, the less you will feel the need to have lots of friends.
The few interactions I've had with people over the past few years have been very different from the ones I used to have. For one, I try not to emotionally throw up on people anymore. If someone wants to know something personal about me I'll tell them, but I'll also ask them if they really want to hear about it. I don't just start telling them all this crap at the first sign of interest. I don't have that kind of need anymore. I want to know how they feel about hearing about my past, as I've put in the work into my past to where I don't feel the pain I did during my original experience, but it might be hard for them to hear. I also feel no desire to find people to be friends with just to combat loneliness, or have someone be interested in me so I can be interested in them. There is something fake about that to me now.
People aren't food to consume when you're feeling loneliness pangs in your head.
I think the reason why you are having a hard time understanding what being friends is might be because most people view friends as drugs. You inject me and I'll inject you and we'll both forget we're unhappy with life for a few minutes. Perhaps you don't fit in with the people around you anymore because with things like therapy you are finding you don't need to be like that anymore. That you can't go back to being that shape.
I admit that it can be tough, because we're social, tribal creatures, and the brain processes some of this emotional stuff the same way it does physical pain. So your brain thinks "no friends = broken arm" (or something kind of like that) which drives you to correct the problem, but, being reasonable, you wouldn't go to the shady under the bridge drug dealer to mend your arm.
The problem is really finding a quality friend who isn't interested in using you. Remember those old cartoons where someone who was hungry would look at another character and imagine them turning into a steak dinner? You don't want that kind of person in your life. You aren't meat, or a toy, or a vomit bucket.
I know I'm not providing you with any real solutions. I'm not sure I have any. I don't have any friends either. But I hope some of what I said helps you in some way.