David, having spoken at the outset of his confidence in God, partly calls upon him for deliverance, and partly complains of the pride of his enemies. At length, to confirm his faith, he prepares himself for yielding a grateful ascription of praise for the benefits which God had conferred upon him.
1 "Although this psalm has no title, it is by general consent ascribed to David, and supposed to have been composed during Absalom's revolt, as he mentions his old age, and his danger of perishing. It is almost a copy of Psalm 31; and, as the passages in the present psalm, which refer to his advanced age, are wanted in the other, it seems as if the 31st psalm (written probably during the persecution of Saul) was taken and adapted, by a little alteration and addition, to his latter afflictions." -- Illustrated Commentary upon the Bible.