29 When the news reached King Solomon that Joab had fled to the Tent and was by the altar, Solomon sent a messenger to Joab to ask him why he had fled to the altar. Joab answered that he had fled to the Lord because he was afraid of Solomon. So King Solomon sent Benaiah to kill Joab.
30 He went to the Tent of the Lord's presence and said to Joab, “The king orders you to come out.”“No,” Joab answered. “I will die here.”Benaiah went back to the king and told him what Joab had said.
31 “Do what Joab says,” Solomon answered. “Kill him and bury him. Then neither I nor any other of David's descendants will any longer be held responsible for what Joab did when he killed innocent men.
32 The Lord will punish Joab for those murders, which he committed without my father David's knowledge. Joab killed two innocent men who were better men than he: Abner, commander of the army of Israel, and Amasa, commander of the army of Judah.
33 The punishment for their murders will fall on Joab and on his descendants forever. But the Lord will always give success to David's descendants who sit on his throne.”
34 So Benaiah went to the Tent of the Lord's presence and killed Joab, and he was buried at his home in the open country.
35 The king made Benaiah commander of the army in Joab's place and put Zadok the priest in Abiathar's place.