This psalm consists of meditations mingled with prayers. Being rudely treated, and grievously distressed, by the cruelty of his enemies, David, in order to obtain assistance from God, first acknowledges that God had justly made use of this as a means of chastising and punishing him for his sins; and, therefore, he prays for their forgiveness, that he may at once enjoy assurance of the divine favor, and obtain deliverance. He then implores the aid of the Holy Spirit, that, sustained by it, he might, even in the midst of so many temptations, continue in the fear of God. And in various places he intermingles meditation, as the means of stirring up himself to increased confidence in God, and of withdrawing his thoughts from the allurements of the world.
A Psalm of David.