Shared ground
Psalm 122:3–4 portrays Jerusalem as more than a dot on a map. It is a deliberately built city, described as “compact together,” and it functions as the recognized meeting place for Israel as a whole (the tribes). The tribes “go up” to it, which fits both the hill-country location and the idea of pilgrimage.
The text also states that this travel is not random. It follows an “ordinance for Israel,” and it has a stated purpose: to give public thanks to Yahweh’s name. In other words, Jerusalem is pictured as the shared worship destination where Israel’s unity is expressed in a regular, ordered way.
Where interpretation differs
Two main questions come up.
First, “compact together” can be read mainly as a comment on the city’s physical layout (well-built, closely joined structures), or more as a picture of social unity (a city that “holds together,” matching the gathering of the tribes). Many readers see room for both ideas, but they place the emphasis differently.
Second, “according to an ordinance for Israel” can be taken as pointing to specific Israelite festival requirements found in the law, or as a broader way of saying it was the established national practice. Either way, the verse presents the ascent as a recognized pattern rather than a private preference.
Why the disagreement exists
The wording is poetic and compressed. “Built” can describe present construction or established character. “Compact” can describe architecture or a “togetherness” that the city represents. And “ordinance” can mean a formal requirement or a well-known national arrangement.
What this passage clearly contributes
Explicitly, the passage links three things: (1) Jerusalem’s coherence as a city, (2) Israel’s tribes ascending there as Yah’s own tribes, and (3) an ordered, repeated gathering focused on thanks to Yahweh. Theologically inferred from that, Jerusalem is presented as a central symbol and location of Israel’s corporate identity and shared worship life, where gratitude to God is given a public, communal form.