You may not have encountered such things as jail. Being in it, life is not just devalued to a minimum for many, it becomes unbearable. And when every day a person goes through suffering, it may be a more acceptable option for him to die. Everything is known by comparing something. And believe me, there are many aspects in this world that many of us bypass from the beginning to the very end. The fact that we can put ourselves in the place of a person is far from what it means to be in his place.
Well, the truth is that if someone is not strong enough to withstand something that can make him take his own life he would feel hopeless and attempt taking his own life.
It's likely that everyone has breaking points, if you approach that point, a person feels completely hopeless and defeated.
That's why it's important for all humans to anchor their hope and faith in the CREATOR of this World and nothing else can defeat you or make you take your own life