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

28 The news came to Joab; for Joab had turned after Adonijah, though he did not turn after Absalom. Joab fled to the Tent of the LORD, and caught hold on the horns of the altar.

29 It was told king Solomon, "Joab has fled to the Tent of the LORD, and behold, he is by the altar." Then Solomon sent Benaiah the son of Jehoiada, saying, "Go, fall on him."

30 Benaiah came to the Tent of the LORD, and said to him, "Thus says the king, 'Come forth.'" He said, "No; but I will die here." Benaiah brought the king word again, saying, "Thus said Joab, and thus he answered me."

31 The king said to him, "Do as he has said, and fall on him, and bury him; that you may take away the blood, which Joab shed without cause, from me and from my father's house. 32 The LORD will return his blood on his own head, because he fell on two men more righteous and better than he, and killed them with the sword, and my father David did not know it: Abner the son of Ner, captain of the army of Israel, and Amasa the son of Jether, captain of the army of Judah. 33 So shall their blood return on the head of Joab, and on the head of his seed forever. But to David, and to his seed, and to his house, and to his throne, there shall be peace forever from the LORD."

34 Then Benaiah the son of Jehoiada went up, and fell on him, and killed him; and he was buried in his own house in the wilderness. 35 The king put Benaiah the son of Jehoiada in his place over the army; and the king put Zadok the priest in the place of Abiathar.