1 Kings 2:44

Then the king said to Shimei, "You know all the evil which your heart knows, what you did to David my father. Now Yahweh will return the evil on your head,

2 Samuel 16:5-13

King David came up to Bahurim and suddenly a man from there [was] coming out from the family of the house of Saul, and his name [was] Shimei the son of Gera. {He was cursing as he came out}.

1 Samuel 25:39

When David heard that Nabal had died, he said, "Blessed be Yahweh who has vindicated the case of my reproach from the hand of Nabal, and he has kept back his servant from evil; but Yahweh has returned the evil of Nabal on his [own] head." Then David sent and spoke with Abigail to take her for his wife.

Psalm 7:16

His trouble comes back on his head, and his violence comes down on his skull.

Ezekiel 17:19

Therefore thus says the Lord Yahweh: '{As I live}, {surely} my oath that he despised and my covenant that he broke I will return upon his head.

1 Kings 2:32-33

Yahweh will return his blood on his head, because he fell upon two men, more righteous and better than he, and he killed them with the sword, even though my father did not know it; [namely] Abner son of Ner, commander of the army of Israel, and Amasa son of Jether, commander of the army of Judah.

Proverbs 5:22

His iniquities shall ensnare him, the evildoer, and in the vanity of his sin he shall be caught.

Hosea 4:9

And it will be like people, like priest; I will punish them [for] their ways, and I will requite them for their deeds.

John 8:9

Now [when they] heard [it], being convicted by their conscience, they began to depart, one by one, beginning with the older ones, and Jesus was left alone--and the woman who was in [their] midst.

Romans 2:15

who show the work of the law written on their hearts, their conscience bearing witness and their thoughts [one] after another accusing or even defending them

1 John 3:20

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

Treasury of Scripture Knowledge

Summary

The king said moreover to Shimei, Thou knowest all the wickedness which thine heart is privy to, that thou didst to David my father: therefore the LORD shall return thy wickedness upon thine own head;

General references

Bible References

Thou knowest

2 Samuel 16:5
King David came up to Bahurim and suddenly a man from there [was] coming out from the family of the house of Saul, and his name [was] Shimei the son of Gera. {He was cursing as he came out}.
John 8:9
Now [when they] heard [it], being convicted by their conscience, they began to depart, one by one, beginning with the older ones, and Jesus was left alone--and the woman who was in [their] midst.
Romans 2:15
who show the work of the law written on their hearts, their conscience bearing witness and their thoughts [one] after another accusing or even defending them
1 John 3:20
that if our heart condemns us, that God is greater than our heart and knows all [things].

General references

Proverbs 24:8
He who plans to do evil for himself, they will call [him] "master of mischief."