John 1:14: "And the Word became flesh and dwelt among us, and we have seen his glory, glory as of the only Son from the Father, full of grace and truth."
2 Samuel 22:29-33: "29 For you are my lamp, O LORD, and my God lightens my darkness. 30 For by you I can run against a troop, and by my God I can leap over a wall. 31 This God - his way is perfect; the word of the LORD proves true; he is a shield for all those who take refuge in him."
Psalm 119:105: "Your word is a lamp to my feet and a light to my path."
Revelation 1:20: "'As for the mystery of the seven stars that you saw in my right hand, and the seven golden lampstands, the seven stars are the angels of the seven churches, and the seven lampstands are the seven churches.'"
+++
The text is public domain:
O Word of God incarnate,
O Wisdom from on high,
O Truth unchanged, unchanging,
O Light of our dark sky:
We praise You for the radiance
That from the hallowed page,
A lantern to our footsteps,
Shines on from age to age.
The Church from You, dear Master,
Received the gift divine;
And still that light is lifted
O'er all the earth to shine.
It is the chart and compass
That, all life's voyage through,
Mid mists and rocks and quicksands
Still guides, O Christ, to You.
O make Your Church, dear Savior,
A lamp of burnished gold
To bear before the nations
Your true light as of old!
O teach Your wand'ring pilgrims
By this their path to trace
Till, clouds and darkness ended,
They see You face to face!
+++
The first three citations (John 1:14, 2 Samuel 22:29-33, Psalm 119:105) all seem to appear in the first verse. "O Word of God incarnate" comes from John 1:14, and while "A lantern to our footsteps" is taken from Psalm 119, the same sort of image is used in 2 Samuel 22.
The second verse seems to come from Revelation 1. Both mention the church as a light.
The lamp imagery from 2 Samuel 22, Psalm 119, and Revelation 1 is continued in the third verse. The last two lines, however, seem to come from 1 Corinthians 13:12: "For now we see in a mirror dimly, but then face to face. Now I know in part; then I shall know fully, even as I have been fully known."