35 The king put Benaiah son of Jehoiada over the army in his place, and the king put the priest Zadok in the place of Abiathar. 36 Then the king sent and summoned Shimei, and said to him, "Build yourself a house in Jerusalem, and live there, and do not go out from there to any place whatever. 37 For on the day you go out, and cross the Wadi Kidron, know for certain that you shall die; your blood shall be on your own head." 38 And Shimei said to the king, "The sentence is fair; as my lord the king has said, so will your servant do." So Shimei lived in Jerusalem many days. 39 But it happened at the end of three years that two of Shimei's slaves ran away to King Achish son of Maacah of Gath. When it was told Shimei, "Your slaves are in Gath," 40 Shimei arose and saddled a donkey, and went to Achish in Gath, to search for his slaves; Shimei went and brought his slaves from Gath. 41 When Solomon was told that Shimei had gone from Jerusalem to Gath and returned, 42 the king sent and summoned Shimei, and said to him, "Did I not make you swear by the Lord, and solemnly adjure you, saying, "Know for certain that on the day you go out and go to any place whatever, you shall die'? And you said to me, "The sentence is fair; I accept.' 43 Why then have you not kept your oath to the Lord and the commandment with which I charged you?" 44 The king also said to Shimei, "You know in your own heart all the evil that you did to my father David; so the Lord will bring back your evil on your own head. 45 But King Solomon shall be blessed, and the throne of David shall be established before the Lord forever." 46 Then the king commanded Benaiah son of Jehoiada; and he went out and struck him down, and he died. So the kingdom was established in the hand of Solomon.

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

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.