There’s groups out there for almost any hobby, so you can get to know people through that.
This advice only works for normal people. I’ve been going to the weightlifting gym and the bouldering gym at least twice a week for 3 years now, and I didn’t meet anyone.