How to get over the loneliness at uni?

I've made friends that I can talk to but we're not really close like that and one of them has kind of just slipped out of my life to hang out with other people which kind of hurts but I mean ig it's expected since you won't be with the same people forever. I've also joined a society I really like but still struggle with making friends. Like we all get along casually and treat each other nicely but it hasn't gone further than that.

How do you deal with the loneliness? With people drifting away and not quite making deeper friendships? I haven't had a really close friend since I was 15 and that didn't turn out so well. Is there any other advice for making friends? And not just surface level friendships, like actual deep connections with no jealousy or drama or bad vibes. Is anything like that even possible??

I would really appreciate any advice. (Oh and btw, I can't really try clubs since I don't drink or smoke so I feel like it's kind of hard to connect to people so ☹️)