Matthew Henry on 1 Kings 2:35–end
Here is, I. The preferment of Benaiah and Zadok, two faithful friends to Solomon and his government, Kg1 2:35. Joab being put to death, Benaiah was advanced to be general of the forces in his room, and, Abiathar being deposed, Zadok was made high priest in his room, and therein was fulfilled the word of God, when he threatened to cut off the house of Eli (Sa1 2:35), I will raise me up a faithful priest, and will build him a sure house. Though sacred offices may be disgraced, they shall not be destroyed, by the mal-administration of those that are entrusted with them, nor shall God's work ever stand still for want of hands to carry it on. No wonder that he who was a king so immediately of God…
Read the whole note in the consoleJamieson-Fausset-Brown on 1 Kings 2:36
the king sent and called for Shimei--He was probably residing at Bahurim, his native place. But, as he was a suspicious character, Solomon condemned him henceforth to live in Jerusalem, on the penalty of death, for going without the gates. He submitted to this confinement for three years, when, violating his oath, he was arrested and put to death by Solomon for perjury, aggravated by his former crime of high treason against David [Kg1 2:42-44].
Adam Clarke on 1 Kings 2:37
Thy blood shall be upon thine own head - Thou knowest what to expect; if thou disobey my orders thou shalt certainly be slain, and then thou shalt be considered as a self-murderer; thou alone shalt be answerable for thy own death. Solomon knew that Shimei was a seditious man, and he chose to keep him under his own eye; for such a man at large, in favorable circumstances, might do much evil. His bitter revilings of David were a sufficient proof.
John Gill on 1 Kings 2:38
And Shimei said unto the king, the saying is good,.... It was an act of goodness in the king, and what was good, grateful, and acceptable to him; for being sent for by him, and knowing how he had used his father, and hearing of several traitors being put to death, he expected this would have been his case; and wherefore, instead of being put to death, was only obliged to leave his habitation in the country, and come and live at Jerusalem, a pleasant and delightful city, and the metropolis of the nation, it was very agreeable to him:
as my lord the king hath said, so will thy servant do; and he not only promised, but swore to it, which Solomon obliged him to, 1 Kings 2:42;
and Shimei dwelt…