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

28 Now the news reached Joab, for Joab had supported and followed Adonijah, although he had not followed Absalom. So Joab fled to the [sacred] tent of the Lord and took hold of the horns of the altar [to seek asylum].

29 King Solomon was told that Joab had fled to the tent of the Lord and was at that moment beside the altar. Then Solomon sent Benaiah the son of Jehoiada, saying, “Go, strike him down.”

30 So Benaiah came to the tent of the Lord and told Joab, “This is what the king commands, ‘Come out of there.’” But Joab said, “No, for I will die here.” Then Benaiah brought word to the king again, saying, “This is what Joab said, and this is how he answered me.”

31 The king said to him, “Do as he has said. Strike him down and bury him, so that you may remove from me and from my father’s house the innocent blood which Joab shed. 32 The Lord will return his bloody deeds upon his own head, because he struck down two men more righteous and honorable than he and killed them with the sword, without my father David knowing: 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 the heads of his descendants forever. But for David, his descendants, his house, and his throne, may there be peace from the Lord forever.”

34 So Benaiah the son of Jehoiada went up [to the tabernacle] and struck and killed Joab, and he was buried at his own house in the wilderness [of Judah]. 35 The king appointed Benaiah the son of Jehoiada over the army in Joab’s place, and appointed Zadok the priest in place of Abiathar.