Thou shalt not be afraid for the terror by night.
Psalm 91:5

Words: Johann F. Hertzog, 1670 (Nun sich der Tag geendet hat); translator unknown. Hertzog wrote these words while a student in Wittenberg, Germany.
Music: Evan William H. Havergal, 1847, arranged by Lowell Mason in Cantica Laudis, by Mason & George J. Webb (New York & Boston, Massachusetts: Mason and Law & John P. Jewett, 1850), page 143 (🔊 pdf nwc).
Alternate Tune:
If you know where to get a good picture of Hertzog (head & shoulders, at least 200×300 pixels),

In mercy, Lord, remember me,
Through all the hours of night,
And grant to me most graciously
The safeguard of Thy might.
With cheerful heart I close mine eyes,
Since Thou wilt not remove;
O in the morning let me rise
Rejoicing in Thy love.
Or if this night should prove my last,
And end my transient days,
Lord, take me to Thy promised rest,
Where I may sing Thy praise.