To the chief Musician, a Psalm of David. This psalm, according to Arama, was composed by David when in Keilah; but, according to Kimchi and others, when the Ziphites proposed to deliver him up into the hands of Saul; and who, upon their solicitations, came down and surrounded him with his army, from whom in haste he made his escape, and to which he is thought to refer in Ps 31:22.
Theodoret supposes it was written by David when he fled from Absalom, and that it has some respect in it to his sin against Uriah, in that verse.Ver. 1. In thee, O Lord, do I put my trust,.... Not in any creature, but in the Lord Jehovah; the Targum, "in thy Word"; the essential Logos, or Word, which was in the beginning with God, and was God, and so an equal object of faith, trust, and confidence, as Jehovah the Father: this act includes a trusting all with God, body and soul, and the welfare of them, in time, and to eternity; and a trusting him for all things, both of providence and grace, and for both grace and glory, and is a continued act; for the psalmist does not say, "I have trusted", or "I will trust", but "I do"; and this was a very consider able thing to do in this time of his distress: the Lord is to be trusted in at all times;let me never be ashamed; neither in this world, nor in that to come.