1 Kings 2:25-31
English Standard Version
26And to Abiathar the priest the king said, "Go to Anathoth, to your estate, for you deserve death. But I will not at this time put you to death, because you carried the ark of the Lord God before David my father, and because you shared in all my father 's affliction."
27So Solomon expelled Abiathar from being priest to the Lord, thus fulfilling the word of the Lord that he had spoken concerning the house of Eli in Shiloh.
28When the news came to Joab — for Joab had supported Adonijah although he had not supported Absalom — Joab fled to the tent of the Lord and caught hold of the horns of the altar.
29And when it was told King Solomon, "Joab has fled to the tent of the Lord, and behold, he is beside the altar," Solomon sent Benaiah the son of Jehoiada, saying, "Go, strike him down."
30So Benaiah came to the tent of the Lord and said to him, "The king commands, ‘Come out.’" But he said, "No, I will die here." Then Benaiah brought the king word again, saying, "Thus said Joab, and thus he answered me."
31The king replied to him, "Do as he has said, strike him down and bury him, and thus take away from me and from my father 's house the guilt for the blood that Joab shed without cause.