29 King Solomon was told that Joab had fled to the Lord’s tent and was now beside the altar. So Solomon sent Benaiah, Jehoiada’s son, instructing him, "Go. Attack Joab!"
30 Benaiah came to the Lord’s tent and said to Joab, "The king says, ‘Come out!’"Joab said, "No! I’d rather die here."Benaiah sent a report back to the king: "This is what Joab said and how he answered me."
31 The king said to him, "Do as he said. Attack him and then bury him. In doing this, you will remove from me and from my father’s royal house the guilt over the innocent blood that Joab shed.
32 May the Lord return that bloodguilt back on his own head for attacking the two men who were better and more righteous than he was. He murdered those two with the sword: Abner, Ner’s son and Israel’s general, and Amasa, Jether’s son and Judah’s general. But my father David didn’t know about it.
33 May the bloodguilt for their deaths return on Joab’s head and on the head of his family line forever. But may the Lord’s peace be on David, his family, and his royal house forever."
34 So Benaiah, Jehoiada’s son, went and attacked Joab and killed him.Joab was buried at his home in the wilderness.
35 In his place, the king gave leadership of the army to Benaiah, Jehoiada’s son. The king put the priest Zadok in Abiathar’s position.