1 Kings 2:30-40

30 And Benaiah cometh in unto the tent of Jehovah, and saith unto him, `Thus said the king, Come out;' and he saith, `Nay, but here I die.' And Benaiah bringeth back the king word, saying, `Thus spake Joab, yea, thus he answered me.'
31 And the king saith to him, `Do as he hath spoken, and fall upon him, and thou hast buried him, and turned aside the causeless blood which Joab shed, from off me, and from off the house of my father;
32 and Jehovah hath turned back his blood on his own head, who hath fallen on two men more righteous and better than he, and slayeth them with the sword, -- and my father David knew not -- Abner son of Ner, head of the host of Israel, and Amasa son of Jether, head of the host of Judah;
33 yea, turned back hath their blood on the head of Joab, and on the head of his seed to the age; and for David, and for his seed, and for his house, and for his throne, there is peace unto the age, from Jehovah.'
34 And Benaiah son of Jehoiada goeth up and falleth upon him, and putteth him to death, and he is buried in his own house in the wilderness,
35 and the king putteth Benaiah son of Jehoiada in his stead over the host, and Zadok the priest hath the king put in the stead of Abiathar.
36 And the king sendeth and calleth for Shimei, and saith to him, `Build for thee a house in Jerusalem, and thou hast dwelt there, and dost not go out thence any where;
37 and it hath been, in the day of thy going out, and thou hast passed over the brook Kidron, thou dost certainly know that thou dost surely die -- thy blood is on thy head.'
38 And Shimei saith to the king, `The word [is] good; as my lord the king hath spoken so doth thy servant do;' and Shimei dwelleth in Jerusalem many days.
39 And it cometh to pass, at the end of three years, that flee do two of the servants of Shimei unto Achish son of Maachah, king of Gath, and they declare to Shimei, saying, `Lo, thy servants [are] in Gath;'
40 and Shimei riseth, and saddleth his ass, and goeth to Gath, unto Achish, to seek his servants, and Shimei goeth and bringeth his servants from Gath.

1 Kings 2:30-40 Meaning and Commentary

INTRODUCTION TO FIRST KING 2

This chapter gives an account of the charge David gave to his son Solomon, a little before his death, to walk in the ways of the Lord, 1Ki 2:1-4; and of some instructions delivered to him concerning some particular persons he should either show favour to, or execute justice on, 1Ki 2:5-9; and the next account in it is concerning his death and burial, and the years of his reign, 1Ki 2:10,11; after which it relates an address of Bathsheba to Solomon in favour of Adonijah, which was refused, and the issue of it was his death, 1Ki 2:12-25; and the deposition of Abiathar from the priesthood, 1Ki 2:26,27; and the putting of Joab to death for his treason and murders, 1Ki 2:28-34; in whose post Benaiah was put, as Zadok was in the place of Abiathar, 1Ki 2:35; and lastly the confinement of Shimei in Jerusalem, who had cursed David, 1Ki 2:36-38; who upon transgressing the orders given him was put to death, 1Ki 2:39-46.

Young's Literal Translation is in the public domain.