Suicide isn't a sign of weakness, it's a sign of ill health.
People usually take their lives when their mental health is deteriorating, and mental health deterioration is something which we all experience.
People frequently become so unwell that recovery seems impossible, but it nearly always is. I'm not suggesting it's easy. Still, after becoming seriously unwell, people often gain more insight into what their needs are, and the warning signs of mental ill health.
I'd advise anyone who is suffering in this way to make contact with local mental health services. Even a brief contact can provide a bit of relief, and something to focus on.