See Matthew 16:13-20.
For the “cornerstone” in stanza 1, see Isaiah 28:16-19 and Ephesians 2:19-22.
For the “benediction” in stanza 2, see Numbers 6:22-27 and II Corinthians 13:14.
For the reign of believers, in stanza 3, see Revelation 4-5.
Stanza 4 is doxological, giving praise to all three members of the Trinity. Heidelberg Catechism, Lord’s Day 8, Question and Answer 24 and 25, and Belgic Confession, Article 8 give a clear and succinct statement about the Trinity: “all three are one in truth and power, in goodness and mercy.”