This song is credited to the renowned father of gospel music, Thomas Andrew Dorsey, not to be confused with the Big Band leader Tommy Dorsey of the same era.
According to Paul Kelly’s book ‘How to Make Gravy’, this song came from Paul just singing psalm 23, and inserting into it a line that has been ‘floating around for more than a hundred years in blue