You sense that David was getting some bad press. Not just people gossiping about David’s flaws . . . but out and out lies targeted at his reputation by his enemies. They sought to turn his honor into shame . . . they made up things to make him look bad. And while it caused David some distress . . . who wouldn’t be distressed? . . . at the end of the day, he knew relief from the Lord . . . a joy in his heart . . . a peace that allowed him to sleep well at night . . . all because he knew the Lord was the “God of my righteousness.”
Answer me when I call, O God of my righteousness!
You have given me relief when I was in distress.
Be gracious to me and hear my prayer! . . .
In peace I will both lie down and sleep;
for You alone, O LORD, make me dwell in safety. (Psalm 4:1, 8 ESV)
If David had to rely on his own righteousness in order to defend himself . . . if it truly was about his track record . . . then even this man after God’s own heart was done. He’d have more than enough reason to fret and be discouraged . . . and his enemies would have more than enough ammunition to accuse him with. But David, before the gospel was even called the gospel, knew the good news that God was, as Spurgeon says, “the author, the witness, the maintainer, the judge, and the rewarder of my righteousness.”
David’s righteousness was found in God alone. Only by God’s grace . . . only through the future provision of David’s descendant, Jesus . . . could David confidently claim a righteousness not His own . . . the righteousness of God Himself.
For our sake He made Him to be sin who knew no sin, so that in Him we might become the righteousness of God. (2Corinthians 5:21 ESV)
Having then this assurance of God’s unmerited cloak of righteousness upon him, David could rest despite his accusers’ claims. He could rest because God would be the maintainer of his righteousness. Through abiding communion . . . by means of God’s sanctifying Spirit . . . David’s boast would continue to be solely in the gracious work of God in his life. By whatever manner his heart was stirred to seek the Lord . . . to whatever degree he understood the things of God . . . he would remember that it was only due to the favor shown him by the One who called him out of the sheep’s pasture . . . only in the power of the One who enabled him to slay a giant . . . only due to the Him who in Sovereign grace sets apart the godly for Himself (v.3).
And so David would know joy and peace as he remembered that the God of his righteousness is the righteous God . . . He who judges with perfect judgment . . . He who rewards with just rewards.
I’m not aware of anyone slandering me today . . . though there is this repetitive whisper of an accuser who points out my flaws and failures, very real flaws and failures. But I also “hear” another voice . . . the voice of God’s Spirit . . . through the truth of God’s word . . . reminding me that He is my assurance . . . that He is my defense . . . that He is “the author, the witness, the maintainer, the judge, and the rewarder of my righteousness.”
To Him be all glory . . .
He is the source of your life in Christ Jesus, whom God made our wisdom and our righteousness and sanctification and redemption. Therefore, as it is written, “Let the one who boasts, boast in the Lord.” (1Corinthians 1:30-31 ESV)