1 Kings 2:44 in the King James Version
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;
Context
43 Why then have you not kept the oath of the LORD and the commandment that I have instructed you with?”
44 The king said moreover to Shimei, “You know in your heart all the wickedness that you did to David my father. Therefore the LORD will return your wickedness on your own head.
45 But King Solomon will be blessed, and David’s throne will be established before the LORD forever.”