I believe that the existence of the English song comes directly from the Bible or the Apocrypha, as do some other songs, notably "The Bitter Withy" and "The Well Below The Valley"I'd also be intrigued to hear about versions of this or other songs in other languages...
Cheers
Steven