17 He said to David, “You are more righteous than I; for you have done good to me, whereas I have done evil to you.
1 Samuel 24:17 Cross References - WEB
Genesis 38:26
26 Judah acknowledged them, and said, “She is more righteous than I, because I didn’t give her to Shelah, my son.” He knew her again no more.
Exodus 9:27
27 Pharaoh sent and called for Moses and Aaron, and said to them, “I have sinned this time. Yahweh is righteous, and I and my people are wicked.
1 Samuel 26:21
21 Then Saul said, “I have sinned. Return, my son David; for I will no more do you harm, because my life was precious in your eyes today. Behold, I have played the fool, and have erred exceedingly.”
Psalms 37:6
6 he will make your righteousness shine out like light, and your justice as the noon day sun.
Matthew 5:44
44 But I tell you, love your enemies, bless those who curse you, do good to those who hate you, and pray for those who mistreat you and persecute you,
Matthew 27:4
4 saying, “I have sinned in that I betrayed innocent blood.” But they said, “What is that to us? You see to it.”