5 "Moreover you know also what Jo'ab the son of Zeru'iah did to me, how he dealt with the two commanders of the armies of Israel, Abner the son of Ner, and Ama'sa the son of Jether, whom he murdered, avenging in time of peace blood which had been shed in war, and putting innocent blood upon the girdle about my loins, and upon the sandals on my feet. 6 Act therefore according to your wisdom, but do not let his gray head go down to Sheol in peace. 7 But deal loyally with the sons of Barzil'lai the Gileadite, and let them be among those who eat at your table; for with such loyalty they met me when I fled from Ab'salom your brother. 8 And there is also with you Shim'e-i the son of Gera, the Benjaminite from Bahu'rim, who cursed me with a grievous curse on the day when I went to Mahana'im; but when he came down to meet me at the Jordan, I swore to him by the Lord, saying, 'I will not put you to death with the sword.' 9 Now therefore hold him not guiltless, for you are a wise man; you will know what you ought to do to him, and you shall bring his gray head down with blood to Sheol."
Matthew Henry's Commentary on 1 Kings 2:5-9
Commentary on 1 Kings 2:5-11
(Read 1 Kings 2:5-11)
These dying counsels concerning Joab and Shimei, did not come from personal anger, but for the security of Solomon's throne, which was the murders he had committed, but would readily repeat them to carry any purpose; though long reprieved, he shall be reckoned with at last. Time does not wear out the guilt of any sin, particularly of murder. Concerning Shimei, Hold him not guiltless; do not think him any true friend to thee, or thy government, or fit to be trusted; he has no less malice now than he had then. David's dying sentiments are recorded, as delivered under the influence of the Holy Ghost, 2 Samuel 23:1-7. The Lord discovered to him the offices and the salvation of that glorious personage, the Messiah, whose coming he then foretold, and from whom he derived all his comforts and expectations. That passage gives a decided proof that David died under the influence of the Holy Ghost, in the exercise of faith and hope.