1 Kings 2:44

And then the king said to Shimei, "Thou rememberest all the wickedness which thine heart knoweth that thou didst to David my father. The LORD therefore render again thy wickedness upon thine own head:

2 Samuel 16:5-13

And when king David came to Bahurim, behold, thence came out a man of the kindred of the house of Saul named Shimei, the son of Gera; and he came out cursing.

1 Samuel 25:39

And when David heard that Nabal was dead, he said, "Blessed be the LORD that hath judged the cause of my rebuke of the hand of Nabal, and hath kept his servant from evil, and hath turned the wickedness of Nabal again upon his own head." And David sent to commune with Abigail, to the intent to take her to his wife.

Psalm 7:16

For his travail shall come upon his own head, and his wickedness shall fall upon his own head, and his wickedness shall fall on his own pate.

Ezekiel 17:19

Therefore thus sayeth the LORD God: As truly as I live, I will bring mine oath that he hath despised, and my covenant that he hath broken, upon his own head.

1 Kings 2:32-33

And the LORD bring his blood upon his own head, for he smote two men righteouser and better than he, and slew them with the sword; my father unwitting: even Abner the son of Ner captain of the host of Israel, and Amasa the son of Jether captain of the host of Judah.

Proverbs 5:22

The wickedness of the ungodly shall catch himself, and with the snares of his own sins shall he be trapped.

Hosea 4:9

Thus the priest is become like the people. Wherefore I will punish them for their wicked ways, and reward them according to their own imaginations.

John 8:9

And as soon as they heard that, they went out one by one, the eldest first. And Jesus was left alone, and the woman standing in the midst.

Romans 2:15

which show the deed of the law written in their hearts: While their conscience beareth witness unto them, and also their thoughts, accusing one another, or excusing,

1 John 3:20

But if our hearts condemn us, God is greater than our hearts, and knoweth 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
And when king David came to Bahurim, behold, thence came out a man of the kindred of the house of Saul named Shimei, the son of Gera; and he came out cursing.
John 8:9
And as soon as they heard that, they went out one by one, the eldest first. And Jesus was left alone, and the woman standing in the midst.
Romans 2:15
which show the deed of the law written in their hearts: While their conscience beareth witness unto them, and also their thoughts, accusing one another, or excusing,
1 John 3:20
But if our hearts condemn us, God is greater than our hearts, and knoweth all things.

General references

Proverbs 24:8
He that imagineth mischief, may well be called an ungracious person.