1 Samuel 24:5

{And then} afterward David {felt guilty}, because he had cut {the hem of Saul's robe}.

2 Samuel 24:10

The heart of David struck him after he had counted the people, and David said to Yahweh, "I have sinned greatly in what I have done! So then, O Yahweh, please forgive the guilt of your servant because I have acted very foolishly."

2 Samuel 12:9

Why have you despised the word of Yahweh by doing evil in his eyes? Uriah the Hittite you have struck down with the sword, and his wife you have taken to yourself as wife! You have killed him with the sword of the {Ammonites}!

2 Kings 22:19

because you have a responsive heart, and you humbled yourself before Yahweh when you heard how I spoke against this place and against its inhabitants to become a desolation and a curse, and you have torn your clothes and wept before my face, I have also heard, declares Yahweh.

1 John 3:20-21

that if our heart condemns us, that God is greater than our heart and knows all [things].

Treasury of Scripture Knowledge

Summary

And it came to pass afterward, that David's heart smote him, because he had cut off Saul's skirt.

Bible References

David's heart

2 Samuel 12:9
Why have you despised the word of Yahweh by doing evil in his eyes? Uriah the Hittite you have struck down with the sword, and his wife you have taken to yourself as wife! You have killed him with the sword of the {Ammonites}!
2 Samuel 24:10
The heart of David struck him after he had counted the people, and David said to Yahweh, "I have sinned greatly in what I have done! So then, O Yahweh, please forgive the guilt of your servant because I have acted very foolishly."
2 Kings 22:19
because you have a responsive heart, and you humbled yourself before Yahweh when you heard how I spoke against this place and against its inhabitants to become a desolation and a curse, and you have torn your clothes and wept before my face, I have also heard, declares Yahweh.
1 John 3:20
that if our heart condemns us, that God is greater than our heart and knows all [things].