2 Samuel 19:23 in the King James Version
Therefore the king said unto Shimei, Thou shalt not die. And the king sware unto him.
Context
22 David said, “What have I to do with you, you sons of Zeruiah, that you should be adversaries to me today? Shall any man be put to death today in Israel? For don’t I know that I am king over Israel today?”
23 The king said to Shimei, “You will not die.” The king swore to him.
24 Mephibosheth the son of Saul came down to meet the king; and he had neither groomed his feet, nor trimmed his beard, nor washed his clothes, from the day the king departed until the day he came home in peace.