Honestly, I've felt pretty much the same way until I learned the reason why. For context, the people in my grade are weird, not necessarily like bad influence in the sense that they do drugs and stuff, but weird as in they talk *ahem* *ahem* stuff that I don't really like. I used to hang around them and pretend to understand what they were talking about, but I still felt lonely, because I didn't have a proper connection with anyone, was never really invited to their outings, etc.
The problem was I was holding on to these people thinking they were the best I could get, so I didn't really explore my options.
Later I sort of cut them off and held them at an arms-length, and found people that are more like me. Because they weren't exactly my friends, we were just people tolerating each other.
So...What I am trying to say is: try and find people that are more like you in character, so you are on the same wavelength during every conversation and can create that connection.
I don't really know if this helps, but really hope it does. If you want to talk about it, you can always reach out to me.