Ezekiel 18:21-24

21 But if the wicked will turn from all his sins that he has committed, and keep all my statutes, and do that which is lawful and right, he shall surely live, he shall not die.

22 All his transgressions that he has committed, they shall not be mentioned to him: in his righteousness that he has done he shall live.

23 Have I any pleasure at all that the wicked should die? said the Lord GOD: and not that he should return from his ways, 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, shall he live? All his righteousness that he has done shall not be mentioned: in his trespass that he has trespassed, and in his sin that he has sinned, in them shall he die.