1 Kings 2:29-39 TNIV

29 King Solomon was told that Joab had fled to the tent of the LORD and was beside the altar.1 Then Solomon ordered Benaiah2 son of Jehoiada, "Go, strike him down!"

References for 1 Kings 2:29

      30 So Benaiah entered the tent3 of the LORD and said to Joab, "The king says, 'Come out!4' " But he answered, "No, I will die here." Benaiah reported to the king, "This is how Joab answered me."

      References for 1 Kings 2:30

      31 Then the king commanded Benaiah, "Do as he says. Strike him down and bury him, and so clear me and my family line of the guilt of the innocent blood5 that Joab shed.

      References for 1 Kings 2:31

      32 The LORD will repay6 him for the blood he shed,7 because without my father David knowing it he attacked two men and killed them with the sword. Both of them--Abner son of Ner, commander of Israel's army, and Amasa8 son of Jether, commander of Judah's army--were better9 men and more upright than he.

      References for 1 Kings 2:32

      33 May the guilt of their blood rest on the head of Joab and his descendants forever. But on David and his descendants, his house and his throne, may there be the LORD's peace forever."
      34 So Benaiah10 son of Jehoiada went up and struck down Joab11 and killed him, and he was buried at his home out in the country.

      References for 1 Kings 2:34

          35 The king put Benaiah12 son of Jehoiada over the army in Joab's position and replaced Abiathar with Zadok13 the priest.

          References for 1 Kings 2:35

          36 Then the king sent for Shimei14 and said to him, "Build yourself a house in Jerusalem and live there, but do not go anywhere else.

          References for 1 Kings 2:36

          37 The day you leave and cross the Kidron Valley,15 you can be sure you will die; your blood will be on your own head."16

          References for 1 Kings 2:37

          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 Achish17 son of Maakah, king of Gath, and Shimei was told, "Your slaves are in Gath."

          References for 1 Kings 2:39