When pain exceeds pain-coping resources, suicidal feelings are the result.
. . .
People often turn to suicide because they are seeking relief from pain. Remember that relief is a feeling. And you have to be alive to feel it. You will not feel the relief you so desperately seek, if you are dead.