Psalms 51:14-19

14 Deliver me from the guilt of bloodshed, O God, the God of my salvation; [then] my tongue will sing aloud [of] your righteousness.
15 O Lord, open my lips, and my mouth will proclaim your praise.
16 For you do not delight [in] sacrifice or I would give [it]. [With] a burnt offering you are not pleased.
17 The sacrifices of God [are] a broken spirit; A broken and contrite heart, O God, you will not despise.
18 Do good in your favor toward Zion. Build the walls of Jerusalem.
19 Then you will delight [in] righteous sacrifices, burnt offering and whole burnt offering. Then bulls will be offered on your altar.

Psalms 51:14-19 Meaning and Commentary

To the chief Musician, A Psalm of David, when Nathan the prophet came unto him, after he had gone in to Bathsheba. The occasion of this psalm was the sin of David with Bathsheba, signified by "going in to her"; an euphemism for "lying with her"; which sin was a very aggravated one, she being another man's wife, and the wife of a servant and soldier of his, who was at the same time exposing his life for his king and country's good; and David besides had many wives, and was also king of Israel, and should have set a better example to his subjects; and it was followed with other sins, as the murder of Uriah, and the death of several others; with scandal to religion, and with security and impenitence in him for a long time, until Nathan the prophet was sent to him of God, to awaken him to a sense of his sin; which he immediately acknowledged, and showed true repentance for it: upon which, either while Nathan was present, or after he was gone, he penned this psalm; that it might remain on record, as a testification of his repentance, and for the instruction of such as should fall into sin, how to behave, where to apply, and for their comfort. The history of all this may be seen in the eleventh and twelfth chapters of the second book of Samuel.
Scripture quotations marked (LEB) are from the Lexham English Bible. Copyright 2012 Logos Bible Software. Lexham is a registered trademark of Logos Bible Software.