This text comes from Catholic Hymns (1860), a historical songbook transcribed on Wikisource and reproduced from the pinned revision linked below.
Loving Shepherd of Thy sheep,
Keep Thy lamb, in safety keep:
Nothing can Thy power withstand,
None can pluck me from Thy hand.
Loving Shepherd, Thou didst give
Thine own life that I might live;
May I love Thee day by day,
Gladly Thy sweet will obey.
Loving Shepherd, ever near,
Teach Thy lamb Thy voice to hear;
Suffer not my steps to stray
From the straight and narrow way.
Where Thou leadest may I go,
Walking in Thy steps below;
Then before Thy Father's throne,
Jesu, claim me for Thine own.