28 Joab had not joined Absalom's earlier rebellion, but he had joined Adonijah's rebellion. So when Joab heard about Adonijah's death, he ran to the sacred tent of the Lord and grabbed on to the horns of the altar. 29 When this was reported to King Solomon, he sent Benaiah son of Jehoiada to execute him. 30 Benaiah went to the sacred tent of the Lord and said to Joab, "The king orders you to come out!" But Joab answered, "No, I will die here." So Benaiah returned to the king and told him what Joab had said. 31 "Do as he said," the king replied. "Kill him there beside the altar and bury him. This will remove the guilt of Joab's senseless murders from me and from my father's family. 32 The Lord will repay him for the murders of two men who were more righteous and better than he. For my father knew nothing about the deaths of Abner son of Ner, commander of the army of Israel, and of Amasa son of Jether, commander of the army of Judah. 33 May their blood be on Joab and his descendants forever, and may the Lord grant peace forever to David, his descendants, his dynasty, and his throne." 34 So Benaiah son of Jehoiada returned to the sacred tent and killed Joab, and he was buried at his home in the wilderness.
Matthew Henry's Commentary on 1 Kings 2:28-34
Commentary on 1 Kings 2:26-34
(Read 1 Kings 2:26-34)
Solomon's words to Abiathar, and his silence, imply that some recent conspiracies had been entered into. Those that show kindness to God's people shall have it remembered to their advantage. For this reason Solomon spares Abiathar's life, but dismisses him from his offices. In case of such sins as the blood of beasts would atone for, the altar was a refuge, but not in Joab's case. Solomon looks upward to God as the Author of peace, and forward to eternity as the perfection of it. The Lord of peace himself gives us that peace which is everlasting.