The opening of the hymn is based on Luke 24:29, “Abide with us: for it is toward evening, and the day is far spent”, while the penultimate verse draws on 1 Corinthians 15:55, “O death, where is thy ...
With “Abide with me” being restored for the Beating the Retreat ceremony at Rajpath, it’s worth noting that the hymn is not confined to religious belief, but is universal in its humanistic appeal.