A perspective of female loneliness
A lot of the times women's loneliness is discounted because people assume we get a lot of attention so we probably aren't lonely.
But there's a difference between getting attention and getting unwanted attention. The right kind of attention is warm, nurturing and makes you content. The wrong ones are draining, isolating and frustrating. And on top of it, when our experiences are completely invalidated because of the "attention" we get on dating apps, on the road or wherever else -- it just further isolates us even more.
The general advice is there - enjoy your company, do activities that help you make friends etc. As a 26 year old living in a different city than my family, I've made friends and I've done social activities. I've done solo trips, trips with friends and everything else in between. But it's not enough. Because the loneliness always comes back eventually. Ofc, there is a male loneliness epidemic too, it seems like it's a trend across the whole generation irrespective of gender. But male loneliness is talked about so much - while female loneliness is brushed under the carpet because we have better friendships and emotional support systems.