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;English Standard Version
The king also said to Shimei, "You know in your own heart all the harm that you did to David my father. So the LORD will bring back your harm on your own head.New International Version
The king also said to Shimei, "You know in your heart all the wrong you did to my father David. Now the LORD will repay you for your wrongdoing.