Logic was joined by Alessia Cara, Khalid and a group of suicide attempt survivors during a moving MTV VMA performance of "1-800-273-8255."
The survivors who flanked Logic, Cara and Khalid were even clad in T-shirts that read "You are not alone."
Cameras panned to a tearful audience, including Logic's wife Jessica Andrea, as she sang along to her husband's powerful track, a song whose title comes from the phone number for the National Suicide Prevention Lifeline.
VMAs 2017: The Complete Winners List
View StoryLogic ended his performance with a speech about love and acceptance, and there wasn't a dry eye at the arena.
"I just wanna take a moment right now to thank you all so much for giving me a platform to talk about something that mainstream media doesn't wanna talk about: mental health, anxiety, suicide, depression and so much more that I talk about on this album, from racism, discrimination, sexism, domestic violence, sexual assault and so much more. I don't give a damn if you're black, white or any color in between. I don't care if you're Christian, you're Muslim, you're gay, you're straight. I am here to fight for your equality because I believe that we are all born equal, but we are not treated equally, and that is why we must fight. We must fight for the equality of every man, woman and child regardless of race, religion, color, creed and sexual orientation. So I say here and now, if you believe in this message and my message of peace, love and positivity and equality for all, then I demand that you rise to your feet and applaud, not only for yourselves, but for the foundation we are laying for our children."
Watch the performance and powerful speech below:
Logic spoke with TooFab on the red carpet ahead of the show, where he explained why he put a gay couple at the center of the song's music video and what he hopes fans take away from it.
"When I created this song, it was about everybody," he told TooFab. "And when I made the video, I had to ask myself: Who are some of the people that struggle most? I think black people in America, young people in America and gay people in America, so I said let's make it about a strong, young, black high school student who's going through hell."
Kesha, who's been open about her battles with depression and anxiety, introduced Logic's performance.
"There is an undeniable truth and strength in the fact that you are not alone," she said, "As long as you don''t give up on yourself, light will break through the darkness."