The pilgrims stand at the very entrance of the Holy City, and their song is one of strong desire (1~10), and equally strong confidence.
It is for the fulfilment of the God inspired purpose of David when, through affliction and at cost, he prepared for the building of the sanctuary. The idea of the Theocracy is in mind as they pray, "Arise, O LORD, into thy rest." The LORD is to be the center of gathering, while around Him are priests and saints, and before Him the anointed King.
The desire is answered by the assurance of the fidelity of God to His word (11~18). He has sworn to David, and He will not turn from it. The order is then set forth. The faithful LORD, the anointed King, the chosen city, the clothed priests, the rejoicing people, the established kingdom, Whatever were the circumstances of the writing of this song, its placing here is significant. The worshipping people are to be conscious of the true order of their life, and the true meaning of their approach.