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

28 Then tidings came to Joab - for Joab had turned after Adonijah, but not after Absalom - whereupon he fled unto the tabernacle of the LORD and caught handfast on the horns of the altar.

29 And it was told king Solomon how that Joab was fled unto the tabernacle of the LORD and stood by the altar. Then Solomon sent Benaiah the son of Jehoiada saying, "Go and smite him."

30 And when Benaiah was come to the tabernacle of the LORD he said unto him, "Thus sayeth the king: 'Come out.'" And he said, "Nay: But I will die even here." And Benaiah brought the king word, saying, "Thus said Joab, and thus he answered me."

31 And the king said, "Do even as he hath said: smite him and bury him, and take away the blood which Joab shed, causeless, from me and from the house of my father. 32 And the LORD bring his blood upon his own head, for he smote two men righteouser and better than he, and slew them with the sword; my father unwitting: even Abner the son of Ner captain of the host of Israel, and Amasa the son of Jether captain of the host of Judah. 33 And their blood return upon the head of Joab and on the head of his seed forever. And prosperity be unto David, and unto his seed, and unto his house, and unto his seat, of the LORD forever."

34 And Benaiah the son of Jehoiada went up and smote him and slew him and buried him in his own house in the wilderness. 35 And the king put Benaiah the son of Jehoiada in his room over the host, and put Zadok the priest in the room of Abiathar.