Just did a little research and the song written to the tune of “Spanish hymn”,
Which was a common hymn/tune in Protestant hymnals, which we adopted into ours as well, though with different words. The writer of the song wrote the lyrics in 1902 or 1903 and put them to the tune of Spanish Hymn. Just a little interesting FYI.