Ezekiel 18:20-24

MLV(i) 20 The soul that sins, it will die.
The son will not bear the iniquity of the father, nor will the father bear the iniquity of the son. The righteousness of a righteous man will be upon him and the wickedness of a wicked man will be upon him.
21 But if a wicked man turns from all his sins that he has committed and keeps all my statutes and does what is lawful and right, he will surely live. He will not die. 22 None of his transgressions that he has committed will be remembered against him. In his righteousness that he has done he will live.
23 Have I any pleasure in the death of a wicked man? says the lord Jehovah and not rather that he should return from his way and live?
24 But when a righteous man turns away from his righteousness and commits unrighteousness and does according to all the abominations that a wicked man does, will 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 will die.