1 Samuel 24:5

Afterward, David’s conscience bothered him because he had cut off the hem of Saul’s robe.

2 Samuel 24:10

But David’s heart (conscience) troubled him after he had counted the people. David said to the Lord, “I have sinned greatly in what I have done. But now, O Lord, please take away the sin 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 and have taken his wife to be your wife. You have killed him with the sword of the Ammonites.

2 Kings 22:19

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

1 John 3:20-21

whenever our heart convicts us [in guilt]; for God is greater than our heart and He knows all things [nothing is hidden from Him because we are in His hands].

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 and have taken his wife to be your wife. You have killed him with the sword of the Ammonites.
2 Samuel 24:10
But David’s heart (conscience) troubled him after he had counted the people. David said to the Lord, “I have sinned greatly in what I have done. But now, O Lord, please take away the sin of Your servant, for I have acted very foolishly.”
2 Kings 22:19
because your heart was tender (receptive, penitent) and you humbled yourself before the Lord when you heard what I said against this place and against its inhabitants, that they should become a desolation and a curse, and because you have torn your clothes and wept before Me, I have heard you,” declares the Lord.
1 John 3:20
whenever our heart convicts us [in guilt]; for God is greater than our heart and He knows all things [nothing is hidden from Him because we are in His hands].