Psalm 51, one of the penitential psalms, is the 51st psalm of the Book of Psalms, beginning in English in the King James Version: "Have mercy upon me, O God". In the slightly different numbering system used in the Greek Septuagint and Latin Vulgate translations of the Bible, this psalm is Psalm 50. In Latin, it is known as Miserere, () in ), especially in musical settings. The introduction in the text says that it was composed by David as a confession to God after he sinned with Bathsheba. The psalm forms a regular part of Jewish, Catholic, Eastern Orthodox and Protestant liturgies. Background and themes Psalm 51 is based on the incident recorded in 2 Samuel, chapters 11–12. David's confession is regarded as a model for repentance in both Judaism and Christianity. The Midrash Tehillim states that one who acknowledges that he has sinned and is fearful and prays to God about it, as David did, will be forgiven. But one who tries to ignore his sin will be punished by God. The Talmud (Yoma 86b) cites verse 5 in the Hebrew (verse 3 in English versions), "My sin is always before me", as a reminder to the penitent to maintain continual vigilance in the area in which he transgressed, even after he has confessed and been absolved. Charles Spurgeon says Psalm 51 is called "The Sinner's Guide", as it shows the sinner how to return to God's grace. Athanasius would recommend that this chapter be recited each night by some of his disciples. According to James Montgomery Boice, this psalm was recited by both Thomas More and Lady Jane Grey at their executions. Parallels between Psalm 51 and the Ancient Egyptian ritual text Opening of the mouth ceremony have been pointed out by scholar Benjamin Urrutia. These include: Mentions of ritual washing with special herbs (verses 2, 7) Restoration of broken bones (verse 8) "O Lord, open my lips" (verse 15) Sacrifices (verses 16, 17, 19) Text Following is the Hebrew text of Psalm 51: King James Version Have mercy upon me, O God, according to thy lovingkindness: according unto the multitude of thy tender mercies blot out my transgressions. Wash me thoroughly from mine iniquity, and cleanse me from my sin. For I acknowledge my transgressions: and my sin is ever before me. Against thee, thee only, have I sinned, and done this evil in thy sight: