2 Samuel 19:23

23 So the king said to Shimei, You will not be put to death. And the king gave him his oath.