I'm sure it wasn't intended, but your post comes across as incredibly dismissive. Oh, you are lonely? You just need motivation. Oh, your family is a toxic dumpster fire that taught you all the wrong social skills? Dont move away from that. Oh, you are lonely? Try golf and church.
Your basic point that loneliness wont magically fix itself is true, but your words instead magically wave away every complication.
People can be introverts that nonetheless want social contact. By the end of a workday I'm exhausted. My peers all have young children, making schedules harder to coordinate and many of the activities I enjoy are off the table if one cant string 3 sentences together without interruption.
Which isnt to say that I cant work on improving things, but posts like yours are incredibly discouraging. It just says that my problems are my fault for bring me. Instead of saying I should find options that work for me it just says to learn to enjoy what I hate. It says just get motivated.
That's the kind of thing that makes people MORE alienated and lonely, and LESS motivated to think there is hope.