God is always working powerfully and passionately for His people even when we do not see it. David’s poetic imagery shows us more than eyes can see. This truth is taught over and over again in the Bible. We need to have it taught repeatedly because we are so inclined to think that only the visible is real. Think of the experience of Elisha. He sat in Dothan apparently defenseless against the strength of the king of Aram. When his servant panicked, Elisha replied, “Do not be afraid, for those who are with us are more than those who are with them” (2 Kings 6:16).
Psalm 18 is a psalm of David, a song celebrating “the day when the Lord rescued him from the hand of all his enemies, and from the hand of Saul.” This psalm, the longest of Book One, praises God for His deliverance. It is also recorded, with slight differences, in 2 Samuel 22. At the center of this psalm is a strong confession of faith: “With the merciful you show yourself merciful” (Ps. 18:25).
This psalm begins (vv. 1–6) and ends (vv. 46–50) with praise offered to God. It is praise filled with love and thanksgiving for God’s protection from enemies and from death. The praise rejoices in the victories God has given His king and His people—victories displayed before the world.
The central section of the psalm (vv. 20–29) celebrates the faithfulness of David and of God. David served the Lord with integrity (we will look at the difficulties that seem to surround this kind of claim below). The Lord on His part had always been reliable and blessed His king. On each side of this central meditation on faithfulness we have the record of God’s powerful help for David (vv. 7–19; 30–45). Each of these two sections has its own character. Verses 7–19 emphasize the work of God to save David. Verses 30–45 highlight David’s success as God worked through him.
In light of this overview of the psalm’s structure, we want to look more closely at several points. First, how can David claim to be blameless (vv. 20–24)? The claim of blamelessness is a recurring theme in the Psalms. It is stated with special force in Psalm 26:
Vindicate me, O Lord, for I have walked in my integrity, and I have trusted in the LORD without wavering. Prove me, O Lord, and try me; test my heart and my mind. For your steadfast love is before my eyes, and I walk in your faithfulness. I do not sit with men of falsehood, nor do I consort with hypocrites” (Ps. 26:1–4).
But David is a murderer and an adulterer, to name only some of his sins. How can he claim to be blameless?
We need to recognize that David was a devoted and persevering follower of the Lord even though he did fall into very serious sin. When Nathan confronted him with his sins, he repented and grieved deeply for them. He expressed his repentance in beautiful psalms of penitence such as Psalms 32 and 51. His life as a whole was characterized by his faithful keeping of God’s covenant in obedience and repentance.
What David pleads, then, is not absolute moral perfection. He recognized that by such a standard he would never stand: “Enter not into judgment with your servant, for no one living is righteous before you” (Ps. 143:2). Rather, he pleads his faithfulness in comparison to the wickedness of those who hate God and His king. He makes this comparison not to claim that he deserves or has earned God’s favor, but to show that God’s saving grace has really made him different from the wicked in the ways in which he thinks, believes, and lives. David loves the Lord and His law, so his sin is grievous to him and he willingly repents and seeks to lead a godly life. In contrast, the wicked despise God and His holy law. They ignore God and seek in every way to harm their neighbor.