Iggy Azalea
"Fancy" rapper Iggy Azalea, pictured Feb. 05, 2016 confessed to having suicidal thoughts Friday. Getty Images

“Fancy” rapper Iggy Azalea has struggled with naysayers on social media, but the Australian star revealed how bad the criticism hit her during a radio interview with KPWR, the popular Los Angeles show best known as “Power 106.”

It wasn’t just internet trolls. People in the entertainment business also attacked Azalea. “I don’t know. There were times when I just wanted to quit life. The whole thing, really,” she told host J Cruz.

When Cruz asked if she meant she was suicidal, she explained: “Sometimes I would drive through the canyons to get through my horses and thought what would happen if I kept driving off the canyon. Sometimes I would feel like that.”

Shocked by her response, Cruz asked if the comments about her music, race and physical appearance were that harsh. But it was more about what would happen if she weren’t able to hold a job in the U.S., she said.

“I live in this country on a work visa, so if I don’t have a job that means I go home,” she said. “And my whole life is here, so that’s a lot for some to deal with. I’ve spent a decade living in America.”

She explained that her friends and job are here, and could all be taken away if her career ended. “That’s a lot,” Azalea, 25, told the host. “It can make a person feel like what do I have to live for?” The rapper said her fiancé, Nick Young, helped her pull through.

Azalea isn’t the first celebrity to open up about suicide. Former UFC champion Ronda Rousey explained she had similar thoughts when she lost her title to Holly Holm at UFC 193, which tarnished her perfect MMA record. "Honestly, like, my thought, in the medical room, down in the corner, I was like, 'What am I anymore if I'm not this?'" Rousey, 28, said Feb. 16. "And I was literally sitting there and thinking about killing myself, and that exact second I'm like, 'I'm nothing, what do I do anymore, and no one gives a s--- about me anymore without this.'"

Follow me on Twitter @mariamzzarella