1 Kings 2:36-46 - Shimei's Banishment And Execution

36 And the king sent and called for Shimei, and said to him, Build thee a house in Jerusalem, and abide there, and go not forth thence anywhere. 37 And it shall be that on the day thou goest forth, and passest over the torrent of Kidron, ... know for certain that thou shalt surely die: thy blood shall be upon thine own head.

38 And Shimei said to the king, The saying is good: as my lord the king has said, so will thy servant do. And Shimei dwelt in Jerusalem many days.

39 And it came to pass at the end of three years, that two servants of Shimei's ran away to Achish son of Maachah, king of Gath. And they told Shimei saying, Behold, thy servants are in Gath. 40 Then 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.

41 And it was told Solomon that Shimei had gone from Jerusalem to Gath, and had come again. 42 And the king sent and called for Shimei, and said to him, Did I not make thee swear by Jehovah, and protest to thee, saying, Know for certain, that on the day thou goest forth, and walkest abroad anywhere, thou shalt surely die? and thou saidst to me, The word that I have heard is good. 43 Why then hast thou not kept the oath of Jehovah, and the commandment that I charged thee with? 44 And the king said to Shimei, Thou knowest all the wickedness of which thy heart is conscious, which thou didst to David my father; and Jehovah returns thy wickedness upon thine own head; 45 and king Solomon shall be blessed, and the throne of David shall be established before Jehovah for ever.

46 And the king commanded Benaiah the son of Jehoiada; who went out and fell upon him, and he died. And the kingdom was established in the hand of Solomon.