Going through a rejection, a failure, or a setback can make all of us feel hopeless. The important thing to remember is that experiencing suicidal thoughts is temporary. Maybe it will last days, maybe weeks...potentially even months. But that experience does pass. The danger with suicidal thoughts is making a permanent decision about life when you're in this temporary state of pain. If you're worried about someone who is acting differently than they usually do--who might seem more withdrawn or more hopeless about the future--ask them if they're experiencing suicidal thoughts.
The National Suicide Prevention Lifeline (1-800-273-8355) provides 24/7, free and confidential support and prevention and crisis resources for people in distress. Go to https://suicidepreventionlifeline.org/ for more information. They also provide support for friends, family, and those concerned about a loved one. For more resources, https://childadolescentpsych.cumc.columbia.edu/articles/suicide-prevention-resources.