But three years later, two of Shimei's slaves ran off to Achish1 son of Maacah, king of Gath, and Shimei was told, "Your slaves are in Gath."
At this, he saddled his donkey and went to Achish at Gath in search of his slaves. So Shimei went away and brought the slaves back from Gath.
When Solomon was told that Shimei had gone from Jerusalem to Gath and had returned,
the king summoned Shimei and said to him, "Did I not make you swear by the LORD and warn2 you, 'On the day you leave to go anywhere else, you can be sure you will die'? At that time you said to me, 'What you say is good. I will obey.'
Why then did you not keep your oath to the LORD and obey the command I gave you?"
The king also said to Shimei, "You know in your heart all the wrong3 you did to my father David. Now the LORD will repay you for your wrongdoing.
But King Solomon will be blessed, and David's throne will remain secure4 before the LORD forever."
Then the king gave the order to Benaiah5 son of Jehoiada, and he went out and struck Shimei6 down and killed him. The kingdom was now firmly established7 in Solomon's hands.