The singer told Billboard that her new track "By the Grace of God" is all about exactly what she had to endure during that time.
"That song is evident of how tough it really was at a certain point. I asked myself, 'Do I want to endure? Should I continue living?'" she revealed. "All the songs are real life moments. I can only write autobiographically. I put all the evidence in the music. I tell my fans if they want to know the real truth about stuff, just listen to the songs."
Now, we finally get to hear that song as Katy played it at the iTunes festival last week.
The song is a noticeable departure from Katy's traditional pop ballad, but there's some pretty powerful stuff in there.
Watch the video below and tell us what you think of Katy's deeply personal song.