Psalm 79:9: "Help us, O God of our salvation, for the glory of your name; deliver us, and atone for our sins, for your name's sake!"
Revelation 12:10: "And I heard a loud voice in heaven, saying, 'Now the salvation and the power and the kingdom of our God and the authority of his Christ have come, for the accuser of our brothers has been thrown down, who accuses them day and night before our God.'"
Psalm 84:11: "For the LORD God is a sun and shield; the LORD bestows favor and honor. No good thing does he withhold from those who walk uprightly."
Matthew 16:18: "'And I tell you, you are Peter, and on this rock I will build my church, and the gates of hell shall not prevail against it.'"
+++
The text is public domain:
Lord of our life and God of our salvation,Star of our night and hope of ev'ry nation:Hear and receive Your Church's supplication,Lord God Almighty.See round Your ark the hungry billows curling;See how Your foes their banners are unfurlingAnd with great spite their fiery darts are hurling,O Lord, preserve us.Lord, be our light when worldly darkness veils us;Lord, be our shield when earthly armor fails us;And in the day when hell itself assails us,Grant us Your peace, Lord:Peace in our hearts, where sinful thoughts are raging,Peace in your Church, our troubled souls assuaging,Peace when the world its endless war is waging,Peace in Your heaven.
+++
Psalm 79:9 appears in the first line of the hymn ("Lord of our life and God of our salvation"). Revelation 12:10 seems to be incorporated here too.
In the third verse, the line "Lord, be our shield when earthly armor fails us" comes from Psalm 84:11, and the line "And in the day when hell itself assails us" seems to be drawn from Matthew 16:18.
+++
The line "Lord, be our light when worldly darkness veils us" in the third verse seems to come from John 8:12: "Again Jesus spoke to them, saying, 'I am the light of the world. Whoever follows me will not walk in darkness, but will have the light of life.'"
The last verse may be drawn from John 14:27: "'Peace I leave with you; my peace I give to you. Not as the world gives do I give to you. Let not your hearts be troubled, neither let them be afraid.'"