32 The Lord will bring back his own blood on his head because he struck down two men more righteous and better than he, without my father David’s knowledge. With his sword, Joab murdered Abner son of Ner, commander of Israel’s army, and Amasa son of Jether, commander of Judah’s army.
33 Their blood will come back on Joab’s head and on the head of his descendants forever, but for David, his descendants, his dynasty, and his throne, there will be peace from the Lord forever.”
34 Benaiah son of Jehoiada went up, struck down Joab, and put him to death. He was buried at his house in the wilderness.
35 Then the king appointed Benaiah son of Jehoiada in Joab’s place over the army, and he appointed Zadok the priest in Abiathar’s place.
36 Then the king summoned Shimei and said to him, “Build a house for yourself in Jerusalem and live there, but don’t leave there and go anywhere else.
37 On the day you do leave and cross the Kidron Valley, know for sure that you will certainly die. Your blood will be on your own head.”
38 Shimei said to the king, “The sentence is fair; your servant will do as my lord the king has spoken.” And Shimei lived in Jerusalem for a long time.