The point where you get tired of being lonely is the point where you actually try to fix it. That can mean working to improve yourself and your social skills. It can mean joining local groups to meet people, make friends and do good work.
I watch people who are older than me and I see so many more habits that lead to consistently strong social lives.
Golf is huge. Guys who join a club and go play once or twice a week, then hang out together afterwards. I don’t play but the older I’ve gotten the more I’ve respected the benefits.
Church is another. Easy to get involved, totally free.
Family is another and one that I think causes the biggest loneliness issue because so many people move away for work these days. So many people I know who are older have most of their family in one city and get together constantly.
I’m sure there’s more, but the short of it is: use loneliness as a motivator to decide you aren’t going to be lonely anymore and find ways to fix the problem. It might been a combination of self improvement, forced courage or effort but you can do it.