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:40
And Shimei - went to Gath - It is astonishing that with his eyes wide open he would thus run into the jaws of death.
John Gill on 1 Kings 2:40
And Shimei arose, and saddled his ass, and went to Gath to Achish to seek his servants,.... And demand them; through the passion he was in with his servants, and his hurry to get them home, and the covetous disposition which prevailed on him, he might forget, or be tempted to neglect, the prohibition he was under not to go out of Jerusalem; or he might think Solomon had forgot it; or that he could come and go secretly without his knowledge; or if he should know of it, he might hope he would never punish him with death for so small a fault; however, so it was ordered by the providence of God leaving him to his own lust, and the temptations of Satan, that he might suffer just punishment for cu…