John 16:13: "'When the Spirit of truth comes, he will guide you into all the truth, for he will not speak on his own authority, but whatever he hears he will speak, and he will declare to you the things that are to come.'"
1 Thessalonians 5:23: "Now may the God of peace himself sanctify you completely, and may your whole spirit and soul and body be kept blameless at the coming of our Lord Jesus Christ."
1 Corinthians 6:19: "Or do you not know that your body is a temple of the Holy Spirit within you, whom you have from God? You are not your own"
2 Timothy 1:7: "for God gave us a spirit not of fear but of power and love and self-control."
+++
The text is public domain:
Holy Spirit, light divine,
Shine upon this heart of mine;
Chase the shades of night away,
Turn the darkness into day.
Let me see my Savior's face,
Let me all His beauties trace;
Show those glorious truths to me
Which are only known to Thee.
Holy Spirit, pow'r divine,
Cleanse this guilty heart of mine;
In Thy mercy pity me,
From sin's bondage set me free.
Holy Spirit, joy divine,
Cheer this saddened heart of mine;
Yield a sacred, settled peace,
Let it grow and still increase.
Holy Spirit, all divine,
Dwell within this heart of mine;
Cast down ev'ry idol throne,
Reign supreme, and reign alone.
+++
John 16:13 appears in the second verse, specifically in the line "Show those glorious truths to me," and 1 Thessalonians 5:23 appears in the third verse.
"The Holy Spirit within you" from 1 Corinthians 6:19 appears in the line "Dwell within this heart of mine" in the last verse.
I must admit I don't fully understand how the hymn uses the verse from 2 Timothy. The only explanation I can come up with is that the various activities mentioned in the verses are examples of the work of that "spirit... of power and love and self-control."