Justin Bieber did not solely write "Pray." The song was co-written by Brian White and Justin Bieber, released in 2010 on the album My World 2.0.