Society still has a duty to try to help the person and discourage suicide as much as possible. I wanted to die for years. Guess I should've been allowed to get it over with.
There are, roughly speaking, two groups of reasons as to why people suicide. One of them is the group of solvable problems and the other is the truly unsolvable problems.
The former often only requires some money to be solved, while the latter can't be fixed by any ammount of money in the world.
The way we treat both groups should be completely different. We should always prevent people from suiciding for solvable problems, and we should, as a rule of thumb, support people that want to suicide because of truly unsolvable problems.
Just to make myself clear: If Joe doesn't have money to buy food, medication or to put a roof above his head, that is never an unsolvable problem. The society/State's unwilligness to solve a problem has no relevancy to determine whether a problem is solvable.
And since people often have to deal with a mix of problems, it is essential to understand that even though people might attribute their desire to suicide due to an unsolvable problem, what might actually be pushing them over the edge are the solvable ones that are overwhelming them, making them unable to deal with the truly unsolvable ones.