1 Kings 2:44

44 The king also said, "You yourself know all the evil that you did to my father David. Therefore, the Lord has brought back your evil on your head,

1 Kings 2:44 Meaning and Commentary

1 Kings 2:44

The king said moreover to Shimei
Not as another reason for his putting him to death, but to remind him of his former sins, and to observe to him the providence of God in suffering him to fall into others, that justice might take place upon him for them also:

thou knowest all the wickedness which thine heart is privy to, that
thou didst to David my father;
which conscience must bear witness to, and accuse him of, not only of the words and actions themselves uttered and done by him, but of the malice and wickedness from whence they sprung:

therefore the Lord shall return thy wickedness upon thine own head;
the punishment of it; which though not directly inflicted for that, yet in providence was brought about as a just retaliation for it.

1 Kings 2:44 In-Context

42 So the king summoned Shimei and said to him, "Didn't I make you swear by the Lord and warn you, saying, 'On the day you leave and go anywhere else, know for sure that you will certainly die'? And you said to me, 'The sentence is fair; I will obey.'
43 So why have you not kept the Lord's oath and the command that I gave you?"
44 The king also said, "You yourself know all the evil that you did to my father David. Therefore, the Lord has brought back your evil on your head,
45 but King Solomon will be blessed, and David's throne will remain established before the Lord forever."
46 Then the king commanded Benaiah son of Jehoiada, and he went out and struck Shimei down, and he died. So the kingdom was established in Solomon's hand.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.