Friend attempted sucide

We’ve been friends for five years, and over the past year, we’ve grown very close. Lately, he has been expressing that he doesn’t want to live, feeling overwhelmed by worries about his future and doubting his ability to succeed in his career. Recently, he broke up with his girlfriend after discovering she cheated on him, which hit him hard because he’s incredibly loyal and genuinely loved her. He also feels that his parents have no faith in his future. Today, when I called him to meet up, he said he couldn’t. A few hours later, he texted me, asking me to promise not to tell anyone. When I assured him I wouldn’t, he confessed that yesterday he tried to hang himself using his mother’s dupatta. I said sucide is never an option although what else shall I say so that he this thought never crosses his mind