1 Kings 2:27-31
English Standard Version
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.