Psalm 87
Psa 87:1-7. This triumphal song was probably occasioned by the same event as the forty-sixth [see on Psa 46:1, title]. The writer celebrates the glory of the Church, as the means of spiritual blessing to the nation.
His - that is, God's
foundation - or, what He has founded, that is, Zion (Isa 14:32).
is in the holy mountains - the location of Zion, in the wide sense, for the capital, or Jerusalem, being on several hills.

gates - for the enclosures, or city to which they opened (Psa 9:14; Psa 122:2; compare Psa 132:13, Psa 132:14).

spoken of thee - or, "in thee," that is, the city of God (Psa 46:4; Psa 48:2).

This is what is spoken by God.
to them ... me - literally, "for My knowers," they are true worshippers (Psa 36:10; Isa 19:21). These are mentioned as specimens.
this - that is, nation
was born there - Of each it is said, "This was born," or is a native of Zion, spiritually.

The writer resumes -
This and that man - literally, "man and man," or many (Gen 14:10; Exo 8:10, Exo 8:14), or all (Isa 44:5; Gal 3:28).
the highest ... her - God is her protector.

The same idea is set forth under the figure of a register made by God (compare Isa 4:3).

As in a great procession of those thus written up, or registered, seeking Zion (Isa 2:3; Jer 50:5), "the singers" and "players," or pipers, shall precede.
all my springs - So each shall say, "All my sources of spiritual joy are in Thee" (Psa 46:4; Psa 84:6).