“Then shall I not be ashamed.” He had known shame, and here he rejoices in the prospect of being freed from it. Sin brings shame, and when sin is gone, the reason for being ashamed is banished. What a deliverance this is, for to some men death is preferable to shame!
“When I have respect unto all thy commandments.” When he respects God he shall respect himself and be respected. Whenever we err we prepare ourselves for confusion of face and sinking of heart: if no one else is ashamed of me I shall be ashamed of myself if I do iniquity. Our first parents never knew shame till they made the acquaintance of the old serpent, and it never left them till their gracious God had covered them with sacrificial skins. Disobedience made them naked and ashamed. We, ourselves, will always have cause for shame till every sin is vanquished, and every duty is observed. When we pay a continual and universal respect to the will of the Lord, then we shall be able to look ourselves in the face in the looking-glass of the law, and we shall not blush at the sight of men or devils, however eager their malice may be to lay somewhat to our charge.
Many suffer from excessive diffidence. and this verse suggests a cure. An abiding sense of duty will make us bold, we shall be afraid to be afraid. No shame in the presence of man will hinder us when the fear of God has taken full possession of our minds. When we are on the king's highway by daylight, and are engaged upon royal business, we need ask no man's leave. It would be a dishonour to a king to be ashamed of his livery and his service; no such shame should ever crimson the cheek of a Christian, nor will it if he has due reverence for the Lord his God. There is nothing to be ashamed of in a holy life; a man may be ashamed of his pride, ashamed of his wealth, ashamed of his own children, but he will never be ashamed of having in all things regarded the will of the Lord his God.
It is worthy of remark that David promises himself no immunity from shame till he has carefully paid homage to all the precepts. Mind that word “all,” and leave not one command out of your respect. Partial obedience still leaves us liable to be called to account for those commands which we have neglected. A man may have a thousand virtues, and yet a single failing may cover him with shame.
To a poor sinner who is buried in despair, it may seem a very unlikely thing that he should ever be delivered from shame. He blushes, and is confounded, and feels that he can never lift up his face again. Let him read these words: “Then shall I not be ashamed.” David is not dreaming, nor picturing an impossible case. Be assured, dear friend, that the Holy Spirit can renew in you the image of God, so that you shall yet look up without fear. O for sanctification to direct us in God's way, for then shall we have boldness both towards God and his people, and shall no more crimson with confusion.
C. H. Spurgeon, Treasury of David