I attempted suicide at age 17 and although I am not prone to depression, I live with a lot of stress and a serious medical condition. Those two facts often leave me suicidal in spite of not being prone to depression.
Encouraging people to "talk to their lonely friend" is encouraging them to act out of pity. That is not the antidote. Think of the phrase "pity fuck" or even "charity case." The antidote is to help people become valued members of society and help them learn to get their emotional and other needs met. This is best done from a position of strength, not a plea for "please pay attention to me so I don't kill myself" or similar.
I have value. I know things of value. One of the reasons I struggle with being suicidal is that I have been marginalized and cannot get most people to take me seriously. I am working on that -- on my credibility and on how to get people to understand that, no, I am not a charity case (in spite of being homeless and deeply in debt). I am someone who has something of value to offer.
I wrote some piece of crap yesterday and then redacted it in part because I felt it came across beggarly, which is not my intent. I have something of value to say. But I am struggling with the how to effectively communicate it. I need help with how bridge the communication gap. I don't need pity. I have gotten charity. Charity helps you survive from one day to the next. It does not help you become established as a professional. It does not improve your reputation and improve your positioning so you can better take care of yourself.
I tend to care deeply about everyone I meet (an Achilles heel, which annoys me to no end). I don't do "pity fuck" emotional stuff. People who realize I am unusually accepting and nonjudgmental often are drawn to me because they think I will "love" them when they feel unlovable. But they are essentially asking me to love them because they are unlovable. That is a doomed proposition. People who will love you because you are broken are sick. They need to be needed. Those so-called friendships don't last. When you stop being pathetic, they end because you no longer need a crutch and the other person can't relate to you as a better person than the hurt little puppy who followed them home.
I hope that makes some sense. We do this by building a better world, where we generally treat people better. We don't do it by promoting pity. We do it by promoting compassion, patience and tolerance for everyone, in all walks of life.
Though I have been crapped on enough I am currently running rather short on those things myself at the moment. So perhaps my theory is wrong. Perhaps it really is a dog eat dog world and perhaps that is as good as it can get.
Peace. And ((HUGS)) if you want them.