Psalms 122
Psalm 122 carries the heading A Song of degrees of David - one of the fifteen “Songs of degrees” (the Songs of Ascents, Psalms 120-134) that pilgrims sang as they went up to Jerusalem for the great feasts. The city sits high in the Judean hills, and the journey to it was literally an ascent; these songs are the music of that climb. This one is sung at the moment the climb is over. The travelling is done, the gates are in view, and the pilgrim breaks into the gladness of arrival: I was glad when they said unto me, Let us go into the house of the LORD.3
The psalm moves in three short movements. It opens in the joy of coming home to worship - I was glad when they said unto me, Let us go into the house of the LORD. Our feet shall stand within thy gates, O Jerusalem (vv. 1-2) - and marvels at the city itself, builded as a city that is compact together (v. 3), drawn close and whole. Then it remembers what the city was for: it is the place whither the tribes go up… to give thanks unto the name of the LORD, and where there are set thrones of judgment, the thrones of the house of David (vv. 4-5) - the seat of worship and the seat of the king together in one place. And it ends, as the pilgrim's love always does, in prayer: Pray for the peace of Jerusalem (v. 6).
What is most moving about the psalm is where its joy finally lands. It does not end in admiring the architecture or congratulating the pilgrim on the journey accomplished. It ends in intercession for the city and for the people in it - Peace be within thy walls… For my brethren and companions' sakes, I will now say, Peace be within thee. Because of the house of the LORD our God I will seek thy good (vv. 7-9). The gladness of being in God's house overflows into love for everyone who shares that house. And the New Testament hears in this song more than one note still ringing: the temple the pilgrim longed to enter, the throne of David's house set in Zion, and the earthly Jerusalem opening at last onto the heavenly Jerusalem that is the mother of us all (Heb. 12:22; Gal. 4:26).2
Tap any highlighted phrase to jump to the commentary that unpacks it.

Psalm 122:1-3 · A Song of degrees of DavidI Was Glad When They Said Unto Me
1I was glad when they said unto me, Let us go into the house of the LORD. 2Our feet shall stand within thy gates, O Jerusalem. 3Jerusalem is builded as a city that is compact together:
The psalm begins with a memory of joy: I was glad when they said unto me, Let us go into the house of the LORD. Read it slowly and notice who speaks first. The gladness is sparked by an invitation from others - they said unto me. Someone else proposed the journey, and the psalmist's heart leapt. This is worship as it was meant to be: not a solitary duty dragged out of a reluctant heart, but a shared summons that one is glad to answer. The pilgrim feasts came round three times a year, and going up to Jerusalem meant days of travel over rough hill country. Yet the word the psalm reaches for is not obligation but gladness. There is a particular happiness in being called - in hearing the people you belong to say, let us go, and feeling everything in you answer yes. The whole psalm grows from this opening note. Before it speaks a word about the city's walls or its thrones or its peace, it tells you how it felt to be invited to the house of the LORD: glad, simply glad, to be going where God could be found.
The pilgrim arrives, and the first thing he says of the city is about its very shape: Jerusalem is builded as a city that is compact together (v. 3). The phrase paints a city pressed close, its buildings knit tightly within the walls, every part joined to the rest - not a sprawl of scattered houses but a single, unified whole. And the unity of the stones mirrors a deeper unity the next verse will name: this is the city whither the tribes go up. A people once scattered across the land - twelve tribes with their own territories and their own concerns - are drawn into one place, gathered around one house, made one in worship. The compactness of the city is a picture of the togetherness of the people. Jerusalem says, in stone, what the festivals enacted in flesh: that the people of God belong together, joined, compact, no part of them meant to stand alone. The pilgrim who has climbed the hills sees more than a skyline; he sees a community knit whole, and it moves him.
Psalm 122:4-5The Thrones of the House of David
4Whither the tribes go up, the tribes of the LORD, unto the testimony of Israel, to give thanks unto the name of the LORD. 5For there are set thrones of judgment, the thrones of the house of David.
Now the psalm tells us what the city is for: whither the tribes go up, the tribes of the LORD, unto the testimony of Israel, to give thanks unto the name of the LORD (v. 4). Two things are gathered here. First, the going up is required and shared - the tribes, all of them, the whole people, ascending together at the appointed times. Jerusalem is the one place where the scattered tribes become a single congregation. And the psalm names them the tribes of the LORD: they are His, not merely a nation but a people belonging to God. Second, the psalm names the purpose of the climb: to give thanks unto the name of the LORD. They do not go up to trade, to display their strength, or even chiefly to ask for things. They go up to give thanks - to render to God the gratitude due to His name. The phrase the testimony of Israel recalls the witness God established among them, the covenant and its tokens kept at the heart of the nation. So the whole movement of the verse is upward and outward from self: a people who belong to God, going up together, to thank the God they belong to.
Psalm 122:6-9Pray for the Peace of Jerusalem
6Pray for the peace of Jerusalem: they shall prosper that love thee. 7Peace be within thy walls, and prosperity within thy palaces. 8For my brethren and companions' sakes, I will now say, Peace be within thee. 9Because of the house of the LORD our God I will seek thy good.
The psalm turns from gladness to a charge, and it is the line the whole song has been building toward: Pray for the peace of Jerusalem: they shall prosper that love thee (v. 6). The joy of arriving does not curve back on itself; it spills out into intercession for the city. And notice the shape of the promise attached: they shall prosper that love thee. To love the city of God is itself a kind of flourishing - those who set their hearts on its peace are bound up in its well-being. The Hebrew here is famous for its sound: the name of the city (Yerushalaim) and the word for peace (shalom) chime together, so that the prayer for Jerusalem is a prayer for the very thing its name half-says. Shalom is no thin idea of mere quiet; it is wholeness, soundness, everything in right order and flourishing. The pilgrim who has stood glad in the gates now does the most loving thing he can for the place: he prays. And the prayer is not my peace but the peace of the whole - the first turn outward in a verse that will keep turning, from the city, to its walls and palaces, to his brethren, to the house of God.
The prayer for peace now narrows from the city to the people who fill it: For my brethren and companions' sakes, I will now say, Peace be within thee (v. 8). This is the heart of why the pilgrim prays. It is not an abstract civic loyalty, not a love of stones and gates for their own sake. He prays for the city for the sake of the people in it - his brethren, his kin in the covenant, and his companions, the friends and fellow-worshippers who walked the road up with him. The peace of the city is the peace of the people he loves; their welfare and its welfare cannot be pulled apart. There is something quietly profound in this. The pilgrim's deepest reason for seeking Jerusalem's good is that other people - named, loved, particular people - live within it. To pray for a place is, at bottom, to pray for the people who dwell there. I will now say has the ring of a vow taken on the spot: standing in the gates, surrounded by the ones he loves, he resolves aloud to speak peace over the city for their sakes.
There is a small, easily missed turn in the final verse worth pausing over. Through the psalm the pilgrim has prayed for the city - Pray for the peace of Jerusalem, Peace be within thy walls - but the last line moves from prayer to action: I will seek thy good (v. 9). It is one thing to wish a place well; it is another to set yourself to seek its good, to make its welfare your own active concern. The pilgrim does both. He prays for the city's peace, and then he commits himself to work for it. And the order matters: the seeking of the city's good is grounded in worship - because of the house of the LORD our God. His care for the community flows out of his love for God, not the other way round. This is the unbroken line the psalm draws from worship to love of neighbour: because God dwells here, I will seek the good of this place and these people. The gladness of verse 1 has travelled all the way to a settled resolve in verse 9 - from I was glad to I will seek thy good - and the bridge between them is the house of the LORD.
Further study
- The Hebrew text of Psalm 122 with Rashi, Ibn Ezra, and other classical commentators side by side - useful for the name Yerushalaim (vv. 2-3) and its long-noted echo of shalom, “peace,” for the wordplay of verses 6-7 (shalom… shalvah), and for the meaning of the city compact together.
- Psalm 122 ↔ Luke 1 · Hebrews 12 · Galatians 4 · Revelation 21Intertextual BibleTraces the threads tying Psalm 122 to the New Testament - the throne of the house of David (v. 5) promised to Jesus (Luke 1:32-33), and the earthly Jerusalem opening onto the heavenly Jerusalem (Heb. 12:22), the Jerusalem above that is the mother of us all (Gal. 4:26), and the new Jerusalem coming down from God (Rev. 21:2).
- Psalm 122 - Translators' NotesNET BibleThe NET Bible's detailed footnotes on Psalm 122 - the “Song of Ascents” heading and the pilgrim setting, the sense of the city “compact together,” the “thrones of judgment” of the house of David in verse 5, and the sound-play between “Jerusalem” and “peace” that runs through verses 6-8.
Where this echoes in Scripture
I Was Glad When They Said Unto Me
- Psalm 84:1-2How amiable are thy tabernacles, O LORD of hosts! My soul longeth... for the courts of the LORD.The same gladness for God’s house as verse 1 - a soul that longs to be where God dwells.
- Psalm 84:10For a day in thy courts is better than a thousand. I had rather be a doorkeeper in the house of my God.The pilgrim’s preference for the house of the LORD - the joy of verse 1 weighed against everything else.
- Isaiah 2:3Come ye, and let us go up to the mountain of the LORD, to the house of the God of Jacob.The very summons of verse 1 - <em>let us go</em> - carried out to the nations going up to God’s house.
- Hebrews 10:24-25consider one another to provoke unto love... not forsaking the assembling of ourselves together.The gladness of gathering (vv. 1, 3) made a charge to God’s people - the city <em>compact together</em> in the life of the church.
The Thrones of the House of David
- 2 Samuel 7:16thine house and thy kingdom shall be established for ever before thee: thy throne shall be established for ever.The promise behind the “thrones of the house of David” in verse 5 - a throne meant to last for ever.
- Luke 1:32-33the Lord God shall give unto him the throne of his father David... and of his kingdom there shall be no end.The throne of David’s house (v. 5) promised to Jesus - the heir in whom the kingdom never ends.
- Isaiah 9:6-7the government shall be upon his shoulder... Of the increase of his government and peace there shall be no end, upon the throne of David.The everlasting throne of David of verse 5 - justice and peace established by the coming King.
- Deuteronomy 16:16Three times in a year shall all thy males appear before the LORD thy God in the place which he shall choose.The pilgrim festivals behind verse 4 - the tribes going up to the place God chose.
Pray for the Peace of Jerusalem
- Luke 2:49wist ye not that I must be about my Father’s business?The gladness for God’s house (v. 1, 9) on the lips of the boy Jesus, found in the temple.
- John 2:17And his disciples remembered that it was written, The zeal of thine house hath eaten me up.The pilgrim’s love of the house of the LORD (v. 9) burning without measure in Christ.
- Hebrews 12:22But ye are come unto mount Sion, and unto the city of the living God, the heavenly Jerusalem.The earthly Jerusalem of the psalm opening onto the heavenly city believers have come to.
- Galatians 4:26But Jerusalem which is above is free, which is the mother of us all.The city the pilgrim loved (vv. 6-9) named as the Jerusalem above - mother of all who belong to God.
- Revelation 21:2And I John saw the holy city, new Jerusalem, coming down from God out of heaven.The final Jerusalem - the city of the psalm fulfilled in the new Jerusalem of the end.