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.
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 ."
Matthew Henry's Commentary on 1 Kings 2:28-45
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.