1 Kings 2:42

42 So the king summoned Shimei and said to him, "Didn't I make you swear by the Lord and warn you, saying, 'On the day you leave and go anywhere else, know for sure that you will certainly die'?a And you said to me, 'The sentence is fair; I will obey.'b