Ellicott's Commentary On The Whole Bible
Psalms 31 - Introduction
XXXI.
This psalm is full of tantalising expressions, which raise the expectation of a satisfactory historical basis for its composition, only to disappoint by the obscurity of their allusion. On the one hand, the figures of the stronghold and rock (Psalms 31:2) not only suggest David as the author, but, from the mode of their introduction, at first seem to point to some definite locality, as Keilah or Ziklag (Psalms 31:7). But we are instantly transported into another circle of images and situations which recall Jeremiah and his fortunes. Moreover, the psalm oscillates between plaintive prayer and assured trust in a way to indicate that we cannot here have the experience of one single event, but the gathered sentiments of a whole lifetime; or, perhaps, which is more likely, the expression of a universal sentiment, the picture of a national situation where power was on one side and right on the other, in which the interests of religion and the discharge of religious duties were opposed by the contemptuous hostility of an idolatrous society. The enemies, at all events, who appear here are those who hate the pious Israelite because they themselves adore other gods (Psalms 31:6) — they are the wicked — their arms are recrimination, calumny, contempt, the insolence of the powerful against the humble and weak. The psalm seems, therefore, to reflect the later times of the monarchy, when the pure religion of Jehovah had to struggle against idolatrous tendencies favoured in high places. The recurrence of phrases very common in his writings show that if Jeremiah was not the author of the psalm, he was very familiar with it, or the writer of the psalm was imbued with his style. The versification is irregular.