The song was written by Tupac Shakur as an outcry to "end the war on the streets", addressing the futility of racial difference and dissidence, particularly under the unifying banner of poverty. The Loyal to the Game version was produced by Eminem, but the original was leaked a couple of years later. It has a faster tempo, extra third and fourth verses and is about 4:30 in length. It also doesn't contain the "Indian Sunset" sample. "Ghetto Gospel" was the only song on Loyal to the Game with an accompanying music video on YouTube. At the end of the video there is a message from his mother, Afeni Shakur, saying "Remember to keep yourself alive, there is nothing more important than that".