ESV: the king sent and summoned Shimei and said to him, "Did I not make you swear by the Lord and solemnly warn you, saying, ‘Know for certain that on the day you go out and go to any place whatever, you shall die’? And you said to me, ‘What you say is good; I will obey.’
NIV: the king summoned Shimei and said to him, "Did I not make you swear by the Lord and warn you, ‘On the day you leave to go anywhere else, you can be sure you will die’? At that time you said to me, ‘What you say is good. I will obey.’
NASB: So the king sent men and summoned Shimei, and said to him, 'Did I not make you swear by the Lord, and solemnly warn you, saying, ‘Know for certain that on the day you depart and go anywhere, you shall assuredly die’? And you said to me, ‘The word I have heard is good.’
CSB: 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’? And you said to me, ‘The sentence is fair; I will obey.’
NLT: So the king sent for Shimei and demanded, 'Didn’t I make you swear by the Lord and warn you not to go anywhere else or you would surely die? And you replied, ‘The sentence is fair; I will do as you say.’
KJV: 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 a certain, on the day thou goest out, and walkest abroad any whither, that thou shalt surely die? and thou saidst unto me, The word that I have heard is good.
NKJV: Then the king sent and called for Shimei, and said to him, “Did I not make you swear by the Lord, and warn you, saying, ‘Know for certain that on the day you go out and travel anywhere, you shall surely die’? And you said to me, ‘The word I have heard is good.’