Treatment of people with mental health difficulties has changed so much in the last few decades. I did a mental health first aid course and learned all about how it has developed through history. There have always been people with mental illnesses and poor mental health, and it often was treated as some sort of moral failing, during WW1 men suffering from shell shock were often thought to be cowards.
The pull your socks up and you'll be ok , things aren't that bad can do a lot of harm. Not everyone has the same baseline. If someone has endured bullying at school or been treated abusively by their parents, something that happens that others who had a happy childhood and have plenty of friends will cope with easily might tip someone who is always stressed, can't get support from friends or family into major panic. Sometimes a minor thing being late home for a example, will not stress someone out who has a nice kind family who understands that things happen, but a woman who has an abusive husband will react very differently, she may be quizzed all about why, and was she seeing someone else, it's her fault and it's an incinv niece to him, living on eggshells not knowing what he will do, different people react differently to things that happen because of their different circumstances.
It's much better to try and address what might seem minor issues and help someone work out ways to deal with them, so they don't find ways to kill the pain. And there are indeed simple ways, chatting to someone who is kind, asking someone to go for a walk with them, going with a friend to a sports club, art....that won't cure an illness that needs medication, or a stay in hospital, but it all helps.
In families sometimes it is one person who has difficulties. That is often down to different experiences at heart.
People have always taken their own life, going way back in history, difficulties are nothing new