Dear Atwitsend,
One thing I will tell you is that your situation is not unique. Many of your generation are in the same boat as you. Your "friends" who are leading amazing lives are probably living a life of quiet desperation just as you are. The social media posts are more a compensation for how their lives are, than a reflection of reality.
The problem is that we have lost the ability to connect as we once did. The internet, and especially the COVID lock-downs, have combined to create an environment where isolation is the norm rather than the exception. We as a society need to regain the ability to connect to our family and to our neighbors. It used to be that the people in a locality would know one another, talk to one another, look out for one another. In our modern society, that has been disappearing.
Our institutions are failing us. School used to be where people learned to connect, but rather than fostering that interaction, we grow more distant. Time was, we would interact, have face time with other students. Now we spend hours on our phones, on social media, talking to our "friends". We keep them at arms length as opposed to near at hand. Face to face relationships are hard, so much easier to communicate via our phones.
In life, relationships are hard. You get hurt. You think your world has come to an end. I will tell you. It hasn't. After the hurt, you need to pick yourself up and move on. Life is like that. For one of your tender years, it is hard, but as you get older, it gets easier to handle.
One thing I will warn you about are AI chatbots. They are useful tools but terrible "friends". They have no empathy, no soul. They are machines often echoing your own concerns. There is a young man who took his own life because his chatbot "friend" told him it was ok. It was not. These are not your friends because they don't know you. All they do is regurgitate what they get off the internet. There is a lot of good out there. There is a lot bad out there as well. You need to be careful.