Then 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.
And the king put Benaiah the son of Jehoiada in his room over the host; and Zadok the priest did the king put in the room of Abiathar.
And the king sent and called for Shimei, and said unto him: Build thee a house in Jerusalem, and dwell there, and go not forth thence any whither.
For on the day thou goest out, and passest over the brook Kidron, know thou for certain that thou shalt surely die; thy blood shall be upon thine own head.'
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.
And it came to pass at the end of three years, that two of the servants of Shimei ran away unto Achish, son of Maacah, king of Gath. And they told Shimei, saying: 'Behold, thy servants are in Gath.'
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.
And it was told Solomon that Shimei had gone from Jerusalem to Gath, and was come back.
And the king sent and called for Shimei, and said unto him: 'Did I not make thee to swear by HaShem, and forewarned thee, saying: Know for certain, that on the day thou goest out, and walkest abroad any whither, thou shalt surely die? and thou saidst unto me: The saying is good; I have heard it.
Why then hast thou not kept the oath of HaShem, and the commandment that I have charged thee with?'
The king said moreover to Shimei: 'Thou knowest all the wickedness which thy heart is privy to, that thou didst to David my father; therefore HaShem shall return thy wickedness upon thine own head.
But king Solomon shall be blessed, and the throne of David shall be established before HaShem for ever.'
So the king commanded Benaiah the son of Jehoiada; and he went out, and fell upon him, so that he died. And the kingdom was established in the hand of Solomon.