I think why people think about suicide he wants peace so badly. and it all starts with a stressed, confused or heartbroken mind that is also similar to stress.
a person who is desperate as if there is no enlightenment in life in the future, will think suicide is the right choice, because he feels that it is useless to live anymore.
but remember, everything needs a process, no matter how bitter life is, stay optimistic in living life. because if we are not optimistic then life will fall apart and have no chance. so always be grateful for all the gifts from God, and think well then look at the people below us so we can be grateful.