Ezekiel 18:21-24 World English Bible (WEB)
21 “But if the wicked turns from all his sins that he has committed, and keeps all my statutes, and does that which is lawful and right, he shall surely live. He shall not die. 22 None of his transgressions that he has committed will be remembered against him. In his righteousness that he has done, he shall live. 23 Have I any pleasure in the death of the wicked?” says the Lord Yahweh; “and not rather that he should return from his way, and live?
24 “But when the righteous turns away from his righteousness, and commits iniquity, and does according to all the abominations that the wicked man does, should he live? None of his righteous deeds that he has done will be remembered. In his trespass that he has trespassed, and in his sin that he has sinned, in them he shall die.
Ezekiel 18:21-24 New International Version (NIV)
21 “But if a wicked person turns away from all the sins they have committed and keeps all my decrees and does what is just and right, that person will surely live; they will not die. 22 None of the offenses they have committed will be remembered against them. Because of the righteous things they have done, they will live. 23 Do I take any pleasure in the death of the wicked? declares the Sovereign Lord. Rather, am I not pleased when they turn from their ways and live?
24 “But if a righteous person turns from their righteousness and commits sin and does the same detestable things the wicked person does, will they live? None of the righteous things that person has done will be remembered. Because of the unfaithfulness they are guilty of and because of the sins they have committed, they will die.