Need advice!!

So long story short my ex friend was shitty, never wanted to hangout w me and that was one reason we stopped being friends ig.

I’ve always been the type of person who always wanted to hangout and basically do what my older and popular brother did. He goes to parties all the time, great and big group of friends, etc. I’ve always tried to mimic that but now I’m a senior in HS and still don’t have a social life like I want. I have legit 2 real friends and they have other friends besides me obv so they’ll go hang e them too. Kinda just leaves me stuck and alone. Anyways, my ex friend who is anti social isn’t anymore after I straight up told her that. I constantly compare myself to when she hangs w people, I feel like I got to too. I’ve always wanted this social life and now seeing her of all ppl having one annoys me so much. It doesn’t seem fair. I want more friends but cuz I’m a mental mess I’m now homeschooled and have even less socialization. My scientist flares up whenever I think about this and how I’m wasting my years being bored at home.

What I want advice on his 1. How to I get this social life I’ve always dreamed of

2. How do get actual good friends and more of them

3. How do I stop comparing myself to other ppl. Especially my brother