2 Samuel 12:13
13 David said to Nathan, r“I have sinned against the Lord.” And Nathan said to David, “The Lord also has put away your sin; syou shall not die.
2 Samuel 24:17
17 Then David spoke to the Lord when he saw the angel who was striking the people, and said, “Behold, I have sinned, and I have done wickedly. But these sheep, what have they done? Please let your hand be against me and against my father’s house.”
Psalm 51:4
4 oAgainst you, you only, have I sinned
and done what is evil in your sight,
pso that you may be justified in your words
and blameless in your judgment.