Meanwhile, Doeg, who was looking after Saul's livestock, reported to Saul, saying, "I saw the son of Jesse coming to Nob, to Ahimelech the son of Ahitub, and he inquired of the Lord for him, and provided him with provisions and the sword of Goliath the Philistine." The king then summoned Ahimelech, the priest, along with all the priests from Nob, and they came to him (1 Kings 22:9-11). Following Saul’s orders, Doeg "struck down the priests, killing eighty-five men who wore the linen ephod; and he smote Nob, the city of the priests, with the sword, both men and women, children and infants, along with cattle and donkeys and sheep" (1 Sam. 22:18-19). Upon learning of this tragic outcome, David expressed these words, which do not constitute a song, psalm, or hymn. Surely, he could have composed songs or psalms in light of the suffering of so many priests. Therefore, the superscription of the psalm lacks a title; it simply states, "to the end," and "to teach," for the concluding words of the psalm offer some solace: "But I am like a green olive tree in the house of God; I trust in the mercy of God forever and ever" (Psalms 51:10) (Ps. 33:2). Consequently, after partaking of the holy sustenance at Abimelech's abode and experiencing a transformation in his character, David praised and thanked God with the words, "I will bless the Lord forever; His praise will always be on my lips." However, upon discovering Doeg’s treachery and the despicable murder of the priests, he chastises him with the question, "Why do you boast of evil, O mighty man? All day long you practice deceit."
This event predates the reflections found in the fifty psalm since it occurred while Saul was still alive and before David became king. It was only later, after the death of Saul and near the end of his reign, that David expressed repentance in Psalm 50. Yet, due to its connection with Psalm 49, as previously clarified, he positioned this psalm before others. The psalms numbered from 51 to 70, although related to various events, were likely composed while Saul was still alive, before David became king. The psalm in question was penned when "Doeg the Edomite came and told Saul, ‘David has come to the house of Abimelech.’" The fifty-third psalm reflects a similar time, for it states (Psalms 53:1), "When the Ziphites came and said to Saul, 'Is David not hiding among us?'" (1 Samuel 23:19). Likewise, the fifty-fifth psalm is inscribed "when the Philistines seized him in Gath" (Psalms 55:1), which also occurred before David’s ascension to the throne, while Saul was still alive. The fifty-sixth psalm notes "when he fled from Saul into the cave" (Psalm 56:1), and similarly, the fifty-eighth psalm states, "when Saul sent men to watch his house in order to kill him" (Psalms 58:1). Furthermore, Psalm fifty-ninth, although composed after Saul’s death, was created during David’s reign yet before his transgression with Uriah, as indicated by the superscription: "when he had defeated the Syrians of Zobah, and Joab returned and struck down twelve thousand in the Valley of Salt" (Psalms 59:1-2). This happened prior to the repentance expressed in Psalm 50. Lastly, the sixty-second psalm is noted as being spoken by David while "in the wilderness of Judah" (Psalms 62:1), again during Saul's lifetime.
It is worth noting that almost all the psalms in the latter section of the book, following the fiftieth psalm, appear to have been delivered prior to David's sin with Uriah. However, the initial portion of the book, ranging from the first psalm to the forty-ninth, encompasses events that occur after his repentance in the fiftieth psalm. For instance, the third psalm was expressed by David "when he fled from Absalom his son" (Psalms 3:1), and this flight took place subsequent to the incident with Uriah. The sixth psalm expresses sorrow for the same offense: "I am weary with my groaning; every night I flood my bed with tears; I drench my couch with my weeping" (Psalms 6:7). Additionally, the seventh psalm, "concerning the words of Cush, a Benjaminite" (Psalms 7:1), may have also been spoken amidst those circumstances, where Hushai, David's loyal friend, was then allied with Absalom. Moreover, the seventeenth psalm addresses the final days of David's life (Psalms 17:1-2). The thirty-seventh psalm bears the inscription "for the memorial" (Psalms 37:1) and concludes with thoughts resonating with the sixth psalm, beginning similarly: "O Lord, do not rebuke me in Your anger, nor chasten me in Your wrath." Thus, this psalm precedes the fiftieth psalm in expressing similar themes of repentance, notably in stating, "My iniquities have gone over my head; they are like a heavy burden; they are too heavy for me. My wounds stink and fester because of my foolishness" (Psalms 37:4-5).
As you engage with this material, you may observe that the majority of the psalms in the first section of the book were articulated after the event involving Uriah, while those in the subsequent section occurred prior to that transgressive act. It raises the question of why the psalms composed chronologically earlier are not placed first, and those written later are found subsequently. The chronological order seems to have been adjusted to avoid a transition from the best to the worst experiences. The few psalms noted with the titles "for the end" or "destroy not" (Psalms 56:1, 74:1) retain their placements within the overall order of the psalms. Generally, the psalms that delve into sorrow are placed at the beginning, allowing for a contrast with the more uplifting psalms that follow, aiming to mitigate the negative impact of the early psalms with the positive messages of those that come afterward. It is plausible that David intended to temper the weight of his later transgressions by contrasting them with his earlier deeds. Alternatively, one might consider that he wisely included his penitential psalms at the forefront, for "A man’s conduct will be judged by his own mouth" (Proverbs 18:18). Having thoroughly examined this arrangement of the psalms, we can now turn our focus to the aforementioned passages from the fifty-first Psalm.