1 Kings 2:36-46
New International Version
36 Then the king sent for Shimei(A) and said to him, “Build yourself a house in Jerusalem and live there, but do not go anywhere else. 37 The day you leave and cross the Kidron Valley,(B) you can be sure you will die; your blood will be on your own head.”(C)
38 Shimei answered the king, “What you say is good. Your servant will do as my lord the king has said.” And Shimei stayed in Jerusalem for a long time.
39 But three years later, two of Shimei’s slaves ran off to Achish(D) son of Maakah, king of Gath, and Shimei was told, “Your slaves are in Gath.” 40 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.
41 When Solomon was told that Shimei had gone from Jerusalem to Gath and had returned, 42 the king summoned Shimei and said to him, “Did I not make you swear by the Lord and warn(E) 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.’ 43 Why then did you not keep your oath to the Lord and obey the command I gave you?”
44 The king also said to Shimei, “You know in your heart all the wrong(F) you did to my father David. Now the Lord will repay you for your wrongdoing. 45 But King Solomon will be blessed, and David’s throne will remain secure(G) before the Lord forever.”
The kingdom was now established(J) in Solomon’s hands.
2 Samuel 16:5-13
New International Version
Shimei Curses David
5 As King David approached Bahurim,(A) a man from the same clan as Saul’s family came out from there. His name was Shimei(B) son of Gera, and he cursed(C) as he came out. 6 He pelted David and all the king’s officials with stones, though all the troops and the special guard were on David’s right and left. 7 As he cursed, Shimei said, “Get out, get out, you murderer, you scoundrel! 8 The Lord has repaid you for all the blood you shed in the household of Saul, in whose place you have reigned.(D) The Lord has given the kingdom into the hands of your son Absalom. You have come to ruin because you are a murderer!”(E)
11 David then said to Abishai and all his officials, “My son,(K) my own flesh and blood, is trying to kill me. How much more, then, this Benjamite! Leave him alone; let him curse, for the Lord has told him to.(L) 12 It may be that the Lord will look upon my misery(M) and restore to me his covenant blessing(N) instead of his curse today.(O)”
13 So David and his men continued along the road while Shimei was going along the hillside opposite him, cursing as he went and throwing stones at him and showering him with dirt.