51:4 Against thee, thee only, have I sinned, and done [this] evil in thy sight: that thou mightest be justified when thou {e} speakest, [and] be clear when thou judgest.
(e) When you give sentence against sinners, they must confess you to be just, and themselves sinners.
51:4 Thee only - Which is not to be, understood absolutely, because he had sinned against Bathsheba and Uriah, and many others; but comparatively. So the sense is, though I have sinned against my own conscience, and against others; yet nothing is more grievous to me, than that I have sinned against thee. Thy sight - With gross contempt of thee, whom I knew to be a spectator of my most secret actions. Justified - This will be the fruit of my sin, that whatsoever severities thou shalt use towards me, it will be no blemish to thy righteousness, but thy justice will be glorified by all men. Speakest - Heb. in thy words, in all thy threatenings denounced against me. Judgest - When thou dost execute thy sentence upon me.
51:1-6 David, being convinced of his sin, poured out his soul to God in prayer for mercy and grace. Whither should backsliding children return, but to the Lord their God, who alone can heal them? he drew up, by Divine teaching, an account of the workings of his heart toward God. Those that truly repent of their sins, will not be ashamed to own their repentance. Also, he instructs others what to do, and what to say. David had not only done much, but suffered much in the cause of God; yet he flees to God's infinite mercy, and depends upon that alone for pardon and peace. He begs the pardon of sin. The blood of Christ, sprinkled upon the conscience, blots out the transgression, and, having reconciled us to God, reconciles us to ourselves. The believer longs to have the whole debt of his sins blotted out, and every stain cleansed; he would be thoroughly washed from all his sins; but the hypocrite always has some secret reserve, and would have some favorite lust spared. David had such a deep sense of his sin, that he was continually thinking of it, with sorrow and shame. His sin was committed against God, whose truth we deny by wilful sin; with him we deal deceitfully. And the truly penitent will ever trace back the streams of actual sin to the fountain of original depravity. He confesses his original corruption. This is that foolishness which is bound in the heart of a child, that proneness to evil, and that backwardness to good, which is the burden of the regenerate, and the ruin of the unregenerate. He is encouraged, in his repentance, to hope that God would graciously accept him. Thou desirest truth in the inward part; to this God looks, in a returning sinner. Where there is truth, God will give wisdom. Those who sincerely endeavour to do their duty shall be taught their duty; but they will expect good only from Divine grace overcoming their corrupt nature.