The real issue at stake here is not mental health or guns. If the author of the article under discussion remained desperate for a gun he would have gotten one.
Embedded in this piece is the evidence banning of guns cannot solve the problem when guns are actively traded by and can be obtained from people involved in illegal activities. Opportunity for mental health care, which would have been formal, as opposed to evidence someone cares may not necessarily have pulled the author off precipice of despair.
Note it was the author who broke off the search for a gun. It was not the case that he could not have gotten a gun, it was the case a little bit of love made him believe there was a better way to a better life, to a better existence.
If we would all love a just a little more, be a little more sensitive to others, not insist on getting the best deal possible in course of business negotiations with those who have more of a pressing need for money than we do (e.g. people facing bankruptcy issues), we all can help make the world a much better place.