Psalm 51 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 Greek Septuagint version of the bible, and the Latin Vulgate, this psalm is Psalm 50 in a slightly different numbering system. In Latin, it is known as Miserere, () in ), especially in musical settings. Psalm 51 is one of the penitential psalms. It is traditionally said to have been composed by David as a confession to God after he sinned with Bathsheba.