David probably composed this Psalm to express the prayers of the pious for his success as at once the head of the Church and nation. Like other compositions of which David in such relations is the subject, its sentiments have a permanent value--the prosperity of Christ's kingdom being involved, as well as typified, in that of Israel and its king. (Psa 20:1-9)