33 So shall their blood return on the head of Joab and on the head of his descendants forever; but to David and his descendants and his house and his throne, may there be peace from the Lord forever."
34 Then Benaiah the son of Jehoiada went up and fell upon him and put him to death, and he was buried at his own house in the wilderness.
35 The king appointed Benaiah the son of Jehoiada over the army in his place, and the king appointed Zadok the priest in the place of Abiathar.
36 Now the king sent and called for Shimei and said to him, "Build for yourself a house in Jerusalem and live there, and do not go out from there to any place.
37 For on the day you go out and cross over the brook Kidron, you will know for certain that you shall surely die; your blood shall be on your own head."
38 Shimei then said to the king, "The word is good. As my lord the king has said, so your servant will do." So Shimei lived in Jerusalem many days.
39 But it came about at the end of three years, that two of the servants of Shimei ran away to Achish son of Maacah, king of Gath. And they told Shimei, saying, "Behold, your servants are in Gath."