By Madeline Raynor
October 26, 2016 at 02:43 PM EDT
Paul Zimmerman/WireImage

Pete Davidson opened up about his depression and said that Kid Cudi‘s music saved him from suicide in a recent interview on Power 105.1’s The Breakfast Club.

“I would’ve killed myself if I didn’t have Kid Cudi,” he said before calling out Cudi’s 2009 album. “Absolutely. 100 percent. I truly believe if Man on the Moon didn’t come out, I wouldn’t be here.”

Cudi also struggles with depression: Earlier this month, he checked himself into rehab for “depression and suicidal urges.” Davidson commented, “It’s kind of comforting to know your hero goes through the same stuff you do.”

The two are now friends, and according to Davidson, the musician is “in really good spirits.” Cudi has since released his “Frequency” video off his upcoming new album, Passion, Pain, and Demon Slayin’. The record does not yet have a release date.

Watch Davidson’s full interview below.