I go the way of all the earth: be thou strong therefore, and shew thyself a man;
I go the way, … — Even the sons and heirs of heaven, must go the way of all the earth, of all who dwell thereon. But they walk with pleasure in this way, thro' the valley of the shadow of death. Prophets, yea kings must go this way to brighter light and honour than prophecy or sovereignty.
Be strong — For, to govern his people according to the law of God, requires great fortitude, or strength of mind.
And a man — In manly wisdom, and courage, and constancy, though thou art but young in years.
 And keep the charge of the LORD thy God, to walk in his ways, to keep his statutes, and his commandments, and his judgments, and his testimonies, as it is written in the law of Moses, that thou mayest prosper in all that thou doest, and whithersoever thou turnest thyself:
The law — Which the prince was enjoined to transcribe and read, Deuteronomy 17:11, that be might govern his own and his peoples actions by it.
Mayest profit — Or, behave thyself prudently. Hereby he intimates, that religion is the truest reason of state, and that all true wisdom and good success depend upon piety.
 That the LORD may continue his word which he spake concerning me, saying, If thy children take heed to their way, to walk before me in truth with all their heart and with all their soul, there shall not fail thee (said he) a man on the throne of Israel.
Confirm his word — Fulfil his promise, the condition upon which it was suspended, being performed.
 Moreover thou knowest also what Joab the son of Zeruiah did to me, and what he did to the two captains of the hosts of Israel, unto Abner the son of Ner, and unto Amasa the son of Jether, whom he slew, and shed the blood of war in peace, and put the blood of war upon his girdle that was about his loins, and in his shoes that were on his feet.
To me — That is, against me; in what he did against Abner and Amasa: whose death was a great injury to David, as it was a breach of his laws and peace; a contempt of his person and government; a pernicious example to his subjects, and a great scandal to him, as if Joab had been only David's instrument, to affect what he secretly designed.
And shed — He slew them as if they had been in the state of war, when there was not only a cessation of arms, but also a treaty of peace.
Put the blood — This is added to note his impenitency, that although by his perfidious manner of killing them when he pretended to embrace them, he stained his own garments with their blood, yet he was not ashamed of it, but gloried in it, and marched boldly along with the army, with the same girdle and shoes which were sprinkled with their blood.
 Do therefore according to thy wisdom, and let not his hoar head go down to the grave in peace.
Do therefore — That is, what in reason and justice thou seest fit. For tho' I was forced to forbear him, yet I never forgave him; punish him according to his demerits.
 But shew kindness unto the sons of Barzillai the Gileadite, and let them be of those that eat at thy table: for so they came to me when I fled because of Absalom thy brother.
For so — With such kindness.
 And, behold, thou hast with thee Shimei the son of Gera, a Benjamite of Bahurim, which cursed me with a grievous curse in the day when I went to Mahanaim: but he came down to meet me at Jordan, and I sware to him by the LORD, saying, I will not put thee to death with the sword.
I will not, … — The words are, The king said unto Shimei, thou shalt not die: and the king sware unto him, 2 Samuel 19:23. The oath, we see, was absolute. It was not, "I will not put thee to death now." or, "I will not put thee to death with the sword." But who can reconcile his charge to Solomon with this oath? Surely, considering the time of that charge, this next to the matter of Uriah, is the greatest blemish in all David's life.
 And king Solomon sent by the hand of Benaiah the son of Jehoiada; and he fell upon him that he died.
Benaiah — For the execution of justice was not then committed to obscure persons, as now it is; but to persons of great honour and authority. It is far from clear, that Solomon did right herein, or that Adonijah had any ill design in asking Abishag.
 And unto Abiathar the priest said the king, Get thee to Anathoth, unto thine own fields; for thou art worthy of death: but I will not at this time put thee to death, because thou barest the ark of the Lord GOD before David my father, and because thou hast been afflicted in all wherein my father was afflicted.
Because, … — Thus Solomon shews respect to his sacred function. He mixes mercy with justice, and requites Abiathar's former kindness to David; hereby teaching princes, that they should not write injuries in marble, and benefits in sand, as they have been so often observed to do.
 So Solomon thrust out Abiathar from being priest unto the LORD; that he might fulfil the word of the LORD, which he spake concerning the house of Eli in Shiloh.
Which he spake — Concerning the translation of the priesthood from the house of Eli, and of Ithamar, to that of Eleazar: which being threatened eighty years ago, is now executed. So divine vengeance, though sometimes it be slow, is always sure.
 And Benaiah came to the tabernacle of the LORD, and said unto him, Thus saith the king, Come forth. And he said, Nay; but I will die here. And Benaiah brought the king word again, saying, Thus said Joab, and thus he answered me.
He said, Nay, … — For he supposed, either, that Solomon would not defile that place with his blood, but would spare him for his respect to it, as he had done Adonijah: or, he had a superstitious conceit, that his dying there might give his guilty and miserable soul some advantage.
 And the king said unto him, Do as he hath said, and fall upon him, and bury him; that thou mayest take away the innocent blood, which Joab shed, from me, and from the house of my father.
Do, … — Kill him, though he be there; take him from that place, and then kill him: for, Exodus 21:14, doth not command the ruler to kill the murderer there, but to remove him thence, to take him from the altar, that he may die.
 So Benaiah the son of Jehoiada went up, and fell upon him, and slew him: and he was buried in his own house in the wilderness.
Wilderness — Places which have but few houses and inhabitants, are often so called in scripture. He was buried privately, like a criminal, not pompously, like a general.
 And the king sent and called for Shimei, and said unto him, Build thee an house in Jerusalem, and dwell there, and go not forth thence any whither.
Go not forth — This Solomon ordered, both for his own security; and as a penalty for his former wickedness.
 For it shall be, that on the day thou goest out, and passest over the brook Kidron, thou shalt know for certain that thou shalt surely die: thy blood shall be upon thine own head.
Kidron — A brook nigh Jerusalem, which he particularly names, because that was the way to Bahurim, his former habitation: but this is not all, for the restraint was general, that he should not go forth thence any whither.
Thy blood — The blame and guilt of thy blood shall lie upon thyself only.
 And Shimei said unto the king, The saying is good: as my lord the king hath said, so will thy servant do. And Shimei dwelt in Jerusalem many days.
Is good — Thy sentence is more merciful than I expected, or deserved.
 And it came to pass at the end of three years, that two of the servants of Shimei ran away unto Achish son of Maachah king of Gath. And they told Shimei, saying, Behold, thy servants be in Gath.
Achish — A king, but subject and tributary, to Solomon. Permitted to enjoy the title and honour of a king, but not the full power; whence it was, that Achish could not keep these servants though they had fled to him for protection; but suffered Shimei to take them away from his royal city.
 And Shimei arose, and saddled his ass, and went to Gath to Achish to seek his servants: and Shimei went, and brought his servants from Gath.
To seek his servants — By "seeking his servants, says Bp. Hall, he lost himself. These earthly things either are, or should be our servants. How commonly do we see men run out of the bounds set by God's laws, to hunt after them, till their souls incur a fearful judgment."
 The king said moreover to Shimei, Thou knowest all the wickedness which thine heart is privy to, that thou didst to David my father: therefore the LORD shall return thy wickedness upon thine own head;
Thine heart — For which thine own conscience accuseth thee, and there is no need of other witnesses.
The Lord — God hath punished thee for thy former wickedness, by suffering thee to expose thyself to thy deserved death.