1 Samuel 24:5

It came about afterward that David’s conscience bothered him because he had cut off the edge of Saul’s robe.

2 Samuel 24:10

Now David’s heart troubled him after he had numbered the people. So David said to the Lord, “I have sinned greatly in what I have done. But now, O Lord, please take away the iniquity of Your servant, for I have acted very foolishly.”

2 Samuel 12:9

Why have you despised the word of the Lord by doing evil in His sight? You have struck down Uriah the Hittite with the sword, have taken his wife to be your wife, and have killed him with the sword of the sons of Ammon.

2 Kings 22:19

because your heart was tender and you humbled yourself before the Lord when you heard what I spoke against this place and against its inhabitants that they should become a desolation and a curse, and you have torn your clothes and wept before Me, I truly have heard you,” declares the Lord.

1 John 3:20-21

in whatever our heart condemns us; for 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 the Lord by doing evil in His sight? You have struck down Uriah the Hittite with the sword, have taken his wife to be your wife, and have killed him with the sword of the sons of Ammon.
2 Samuel 24:10
Now David’s heart troubled him after he had numbered the people. So David said to the Lord, “I have sinned greatly in what I have done. But now, O Lord, please take away the iniquity of Your servant, for I have acted very foolishly.”
2 Kings 22:19
because your heart was tender and you humbled yourself before the Lord when you heard what I spoke against this place and against its inhabitants that they should become a desolation and a curse, and you have torn your clothes and wept before Me, I truly have heard you,” declares the Lord.
1 John 3:20
in whatever our heart condemns us; for God is greater than our heart and knows all things.