26 To Abiathar the priest the king said, “Go to Anathoth, to your own fields; for you are worthy of death. But I will not at this time put you to death, because you bore the ark of the Lord Yahweh before David my father, and because you were afflicted in all in which my father was afflicted.” 27 So Solomon thrust out Abiathar from being priest to Yahweh, that he might fulfill the word of Yahweh, which he spoke concerning the house of Eli in Shiloh. 28 The news came to Joab; for Joab had turned after Adonijah, though he didn’t turn after Absalom. Joab fled to the Tent of Yahweh, and caught hold on the horns of the altar. 29 It was told king Solomon, “Joab has fled to the Tent of Yahweh, and behold, he is by the altar.” Then Solomon sent Benaiah the son of Jehoiada, saying, “Go, fall on him.” 30 Benaiah came to the Tent of Yahweh, and said to him, “Thus says the king, ‘Come forth!’”

He said, “No; but I will die here.”

Benaiah brought the king word again, saying, “Thus said Joab, and thus he answered me.” 31 The king said to him, “Do as he has said, and fall on him, and bury him; that you may take away the blood, which Joab shed without cause, from me and from my father’s house. 32 Yahweh will return his blood on his own head, because he fell on two men more righteous and better than he, and killed them with the sword, and my father David didn’t know it: Abner the son of Ner, captain of the army of Israel, and Amasa the son of Jether, captain of the army of Judah. 33 So shall their blood return on the head of Joab, and on the head of his seed forever. But to David, and to his seed, and to his house, and to his throne, there shall be peace forever from Yahweh.” 34 Then Benaiah the son of Jehoiada went up, and fell on him, and killed him; and he was buried in his own house in the wilderness.

35 The king put Benaiah the son of Jehoiada in his room over the army; and Zadok the priest did the king put in the room of Abiathar. 36 The king sent and called for Shimei, and said to him, “Build yourself a house in Jerusalem, and dwell there, and don’t go out from there anywhere. 37 For on the day you go out, and pass over the brook Kidron, know for certain that you shall surely die: your blood shall be on your own head.” 38 Shimei said to the king, “The saying is good. As my lord the king has said, so will your servant do.” Shimei lived in Jerusalem many days. 39 It happened at the end of three years, that two of the servants of Shimei ran away to Achish, son of Maacah, king of Gath. They told Shimei, saying, “Behold, your servants are in Gath.” 40 Shimei arose, and saddled his donkey, and went to Gath to Achish, to seek his servants; and Shimei went, and brought his servants from Gath. 41 It was told Solomon that Shimei had gone from Jerusalem to Gath, and was come again. 42 The king sent and called for Shimei, and said to him, “Didn’t I adjure you by Yahweh, and warn you, saying, ‘Know for certain, that on the day you go out, and walk abroad any where, you shall surely die?’ You said to me, ‘The saying that I have heard is good.’ 43 Why then have you not kept the oath of Yahweh, and the commandment that I have instructed you with?” 44 The king said moreover to Shimei, “You know all the wickedness which your heart is privy to, that you did to David my father. Therefore Yahweh shall return your wickedness on your own head. 45 But king Solomon shall be blessed, and the throne of David shall be established before Yahweh forever.” 46 So the king commanded Benaiah the son of Jehoiada; and he went out, and fell on him, so that he died. The kingdom was established in the hand of Solomon.

Matthew Henry's Commentary on 1 Kings 2:26-46

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.

Commentary on 1 Kings 2:35-46

(Read 1 Kings 2:35-46)

The old malignity remains in the unconverted heart, and a watchful eye should be kept on those who, like Shimei, have manifested their enmity, but have given no evidence of repentance. No engagements or dangers will restrain worldly men; they go on, though they forfeit their lives and souls. Let us remember, God will not accommodate his judgment to us. His eye is over us; and let us strive to walk as in his presence. Let our every act, word, and thought, be governed by this great truth, that the hour is quickly coming when the smallest circumstances of our lives shall be brought to light, and our eternal state be fixed by a righteous and unerring God. Thus Solomon's throne was established in peace, as the type of the Redeemer's kingdom of peace and righteousness. And it is a comfort, in reference to the enmity of the church's enemies, that, how much soever they rage, it is a vain thing they imagine. Christ's throne is established, and they cannot shake it.