1 Kings 2:28-35 - Joab's Execution

28 Now the news came to Joab, for Joab had followed Adonijah, although he had not followed Absalom. And Joab fled to the tent of the Lord and took hold of the horns of the altar.

29 It was told King Solomon that Joab had fled to the tent of the Lord, and behold, he is beside the altar. Then Solomon sent Benaiah the son of Jehoiada, saying, “Go, fall upon him.”

30 So Benaiah came to the tent of the Lord and said to him, “Thus the king has said, ‘Come out.’” But he said, “No, for I will die here.” And Benaiah brought the king word again, saying, “Thus spoke Joab, and thus he answered me.”

31 The king said to him, “Do as he has spoken and fall upon him and bury him, that you may remove from me and from my father’s house the blood which Joab shed without cause. 32 The Lord will return his blood on his own head, because he fell upon two men more righteous and better than he and killed them with the sword, while my father David did not know it: Abner the son of Ner, commander of the army of Israel, and Amasa the son of Jether, commander of the army of Judah. 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.