1 Kings 2:41-43 English Revised Version (ERV)

41. And it was told Solomon that Shimei had gone from Jerusalem to Gath, and was come again.

42. And the king sent and called for Shimei, and said unto him, Did I not make thee to swear by the LORD, and protested unto 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 that I have heard is good.

43. Why then hast thou not kept the oath of the LORD, and the commandment that I have charged thee with?

1 Kings 2