28When the news reached Joab, who had conspired with Adonijah but not with Absalom, he fled to the tent of the LORD and took hold of the horns of the altar.
29It was reported to King Solomon: “Joab has fled to the tent of the LORD and is now beside the altar.” So Solomon sent Benaiah son of Jehoiada, saying, “Go, strike him down!”
30And Benaiah entered the tent of the LORD and said to Joab, “The king says, ‘Come out!’” But Joab replied, “No, I will die here.” So Benaiah relayed the message to the king, saying, “This is how Joab answered me.”
31And the king replied, “Do just as he says. Strike him down and bury him, and so remove from me and from the house of my father the innocent blood that Joab shed.
— 1 Kings 2:28-31