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,
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.
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.