This psalm seems to be an expression of thanksgiving rather for some particular deliverance, than for the constant aid by which God has always protected and preserved his Church. It may be inferred from it that the city of Jerusalem. when stricken with great terror, and placed in extreme danger, was preserved, contrary to all expectation, by the unlooked for and miraculous power of God. The prophet, therefore, whoever composed the psalm, commending a deliverance so singularly vouchsafed by God, exhorts the faithful to commit themselves confidently to his protection, and not to doubt that, relying fearlessly upon him as their guardian and the protector of their welfare, they shall be continually preserved in safety from all the assaults of their enemies, because it is his peculiar office to quell all commotions.
To the chief musician of the sons of Korah, a song upon Alamoth.
Interpreters are not agreed as to the meaning of the word lmvt, alamoth; but without noticing all the different opinions, I shall mention only two of them, namely, that it was either an instrument of music, or else the commencement of some common and well known song. The latter conjecture appears to me the most probable. As to the time when this psalm was written it is also uncertain, unless, perhaps, we might suppose that it was written when the siege of the city was suddenly raised by the terrible and sore destruction which God brought upon the army of Sennacherib, (2 Kings 19:35.) This opinion I readily admit, because it accords most with the whole scope of the psalm. It is abundantly manifest that some favor of God, worthy of being held in remembrance, such as that was, is here commended.