The first two verses of the song appeared anonymous in the book "Little Children’s Book for Schools and Families" (1885). James Murray called them "Luther’s Cradle Hymn", which also became an alternate title of this song. The last verse was written by John McFarland.