The occasion of this psalm, seems to have been David's
translation of the ark to Zion, which was managed with great solemnity
and devotion. For the first words are the very same which Moses
appointed for such occasions, Num. x, 35, and the following verses pursue the same matter. Thence he
falls into a description of some of the glorious works of the God to
whom this ark belonged. But because David knew that both himself and the
ark were types of Christ, and that the church of Israel were a type of
the catholick church, consisting of Jews and Gentiles, and that the
legal administrations were types of those of the gospel, he therefore by
the spirit of prophecy, looked through the types, to the great mysteries
of Christ's resurrection and ascension, and of the special privileges of
the Christian church, and of the conversion of the Gentiles, and
intermixes passages, which immediately belong to these things, although
the words be so ordered, that they carry a manifest allusion to the
present actions, and may be applied to them, in a secondary sense. He
first prays against God's enemies, and for his people, ver. 1-3. Then
praises God, for his greatness and goodness, ver. 4-6. For his wonderful
works, ver. 7-14. For his special presence in his church, ver. 15- 17.
The ascension of Christ, and the salvation of his people, ver. 18-20.
His victories over his enemies, and favours to his church, ver. 21-28.
The accession of the Gentiles to the church, ver. 29- 31. An awful
acknowledgment of the glory and grace of God, ver. 32-35. To the chief
musician, A psalm or song of David.