By the Grace of God (song)

"By the Grace of God"
Song by Katy Perry
from the album Prism
RecordedNovember 2012
StudioRocket Carousel Studios
(Los Angeles, California)
GenreChristian pop
Length4:27
LabelCapitol
Songwriter(s)
Producer(s)
  • Greg Wells
  • Katy Perry
Audio video
"By the Grace of God" on YouTube

"By the Grace of God" is a song by American singer Katy Perry from her fourth studio album, Prism (2013), included as the standard edition's final track. The song was written and produced by Perry and Canadian record producer Greg Wells. It was conceived following Perry's divorce from English actor and comedian Russell Brand. This initially made Perry consider making a "darker" album, but instead was channeled into the song. Throughout its autobiographical lyrics, Perry is depicted finding her strength and standing up for herself.

The track was first unveiled at Perry's headlining set at the 2013 Apple Music Festival. Upon the release of Prism, "By the Grace of God" received generally positive reviews from music critics, who appreciated its vulnerability and picked it as one of the musical highlights from the album. Following the album's release, it has entered various musical charts due to strong digital downloads.