34 So Benaiah son of Jehoiada returned to the sacred tent and killed Joab, and he was buried at his home in the wilderness.
35 Then the king appointed Benaiah to command the army in place of Joab, and he installed Zadok the priest to take the place of Abiathar. 36 The king then sent for Shimei and told him, "Build a house here in Jerusalem and live there. But don't step outside the city to go anywhere else. 37 On the day you so much as cross the Kidron Valley, you will surely die; and your blood will be on your own head." 38 Shimei replied, "Your sentence is fair; I will do whatever my lord the king commands." So Shimei lived in Jerusalem for a long time. 39 But three years later two of Shimei's slaves ran away to King Achish son of Maacah of Gath. When Shimei learned where they were, 40 he saddled his donkey and went to Gath to search for them. When he found them, he brought them back to Jerusalem. 41 Solomon heard that Shimei had left Jerusalem and had gone to Gath and returned. 42 So the king sent for Shimei and demanded, "Didn't I make you swear by the Lord and warn you not to go anywhere else or you would surely die? And you replied, 'The sentence is fair; I will do as you say.' 43 Then why haven't you kept your oath to the Lord and obeyed my command?" 44 The king also said to Shimei, "You certainly remember all the wicked things you did to my father, David. May the Lord now bring that evil on your own head. 45 But may I, King Solomon, receive the Lord 's blessings, and may one of David's descendants always sit on this throne in the presence of the Lord ." 46 Then, at the king's command, Benaiah son of Jehoiada took Shimei outside and killed him. So the kingdom was now firmly in Solomon's grip.
Matthew Henry's Commentary on 1 Kings 2:34-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.