28 Then news came to Joab, for Joab had defected to Adonijah, though he had not defected to Absalom. So Joab fled to the tabernacle of the Lord, and took hold of the horns of the altar. 29 And King Solomon was told, "Joab has fled to the tabernacle of the Lord; there he is, by the altar." Then Solomon sent Benaiah the son of Jehoiada, saying, "Go, strike him down." 30 So Benaiah went to the tabernacle of the Lord, and said to him, "Thus says the king, 'Come out!' " And he said, "No, but I will die here." And Benaiah brought back word to the king, saying, "Thus said Joab, and thus he answered me." 31 Then the king said to him, "Do as he has said, and strike him down and bury him, that you may take away from me and from the house of my father the innocent blood which Joab shed. 32 So the Lord will return his blood on his head, because he struck down two men more righteous and better than he, and killed them with the sword--Abner the son of Ner, the commander of the army of Israel, and Amasa the son of Jether, the commander of the army of Judah--though my father David did not know it. 33 Their blood shall therefore return upon the head of Joab and upon the head of his descendants forever. But upon David and his descendants, upon his house and his throne, there shall be peace forever from the Lord." 34 So Benaiah the son of Jehoiada went up and struck and killed him; and he was buried in his own house 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.