I think that this premise (that having a bad life leads to suicide) displays a radical misunderstanding of why people commit suicide, or are depressed, or it relies on a poor understanding of what makes a life good or bad:
Humans are usually very good at overcoming obstacles in their lives. In my experience, people who lose limbs, loved ones, their homes, communities, etc are usually able to overcome it fairly easily. Within a few years, their life satisfaction seems to be pretty high. This also goes for people in heavily impoverished and undeveloped parts of the world, and for premodern peoples, who we would all agree have a lower quality of life. Yet, suicide rates remain highest in developed countries.
I would say that depression and suicide are often a product of removing the things that allow people to cope with the regular friction of life. Note that many suicidal people often report being unable to deal with small things such as getting out of bed, speaking to others, and taking care of themselves. The weight crushing these people is, in my opinion, a lack of social interaction, sense of solidarity, and a sense of impact on the environment around them, not that they have "bad lives" (unless we define a bad life as having a life wherein a person is deprived of the things that allow a person to overcome obstacles).
I'm speaking generally with all of this though