2 Samuel 19:23

23 Then the king said to Shimei, "You shall not die," and [so] the king swore to him.

2 Samuel 19:23 In-Context

21 Then Abishai the son of Zeruiah responded and said, "Because of this, should not Shimei be put to death, for he cursed the anointed one of Yahweh?"
22 Then David said, "What [is] it to me or to you, sons of Zeruiah, that you should be an adversary today? [Should] anyone be put to death in Israel? Do I not know today that I [am] king over Israel?"
23 Then the king said to Shimei, "You shall not die," and [so] the king swore to him.
24 Now, Mephibosheth the son of Saul came down to meet the king; he had not taken care of his feet nor trimmed his moustache nor washed his clothes from the day the king left until the day he came back in peace.
25 It happened that when he came to Jerusalem to meet the king, the king said to him, "Why did you not come with me, Mephibosheth?"
Scripture quotations marked (LEB) are from the Lexham English Bible. Copyright 2012 Logos Bible Software. Lexham is a registered trademark of Logos Bible Software.