Throughout the songs of David, he urges God to bring his judgment. There is almost of feeling of excitement and anticipation. Imagine: “Yeah! Bring it, God! Smash the wicked! Restore the righteous!”
The only way David can assert this with such conviction and enthusiasm is that he regards himself as not one of the wicked. But David’s hands are not entirely clean. Adulterer. Murderer. But his is not afraid of God’s judgment. He understands God’s heart toward him. Even in failure, he is a man after God’s heart.
It is in failure that God’s heart (God’s grace) is most proven … most evident. It is in failure that our hearts – toward others, toward ourselves – are most proven and most evident. Some failures are because we are not big enough. Some failures are chosen. And those who choose moral failure need to repent. But there was a way that Jesus behaved with people that gave grace, even when someone had not repented. And we need to learn how to behave that way also.