“1 I was glad when they said unto me, Let us go into the house of the Lord.
2 Our feet shall stand within thy gates, O Jerusalem.
3 Jerusalem is builded as a city that is compact together:
4 Whither the tribes go up, the tribes of the Lord, unto the testimony of Israel, to give thanks unto the name of the Lord.
5 For there are set thrones of judgment, the thrones of the house of David.
6 Pray for the peace of Jerusalem: they shall prosper that love thee.
7 Peace be within thy walls, and prosperity within thy palaces.
8 For my brethren and companions’ sakes, I will now say, Peace be within thee.
9 Because of the house of the Lord our God I will seek thy good.”
From the Reformation Study Bible:
“This Song of Ascents records the decision of the poet to accompany a group on a visit to Jerusalem. The psalm describes the glories of Jerusalem, where God is worshiped and where the dynasty of David rules (2 Sam. 7), asking God to protect the city and its inhabitants.
This psalm is similar to the Zion songs which extol the city of Jerusalem (46; 48; 76). Jerusalem was prized above other cities because God chose to reveal Himself there to His people. Since Christ has come, Gods people can meet Him in Christ anywhere on the face of the earth (John 4:1923). Jerusalem represents all believers (Gal. 4:26), and it typifies the coming New Jerusalem (Rev. 21:927).”
From Matthew Henry’s Bible Commentary:
“This psalm seems to have been penned by David for the use of the people of Israel, when they came up to Jerusalem to worship at the three solemn feasts. It was in Davids time that Jerusalem was first chosen to be the city where God would record his name. It being a new thing, this, among other means, was used to bring the people to be in love with Jerusalem, as the holy city, though it was but the other day in the hands of the Jebusites. Observe, I. The joy with which they were to go up to Jerusalem, Ps. 122:1, 2. II. The great esteem they were to have of Jerusalem, Ps. 122:3-5. III. The great concern they were to have for Jerusalem, and the prayers they were to put up for its welfare, Ps. 122:6-9. In singing this psalm we must have an eye to the gospel church, which is called the Jerusalem that is from above. “