Ezekiel 18:21-28 Revised Standard Version (RSV)
21 “But if a wicked man turns away from all his sins which he has committed and keeps all my statutes and does what is lawful and right, he shall surely live; he shall not die. 22 None of the transgressions which he has committed shall be remembered against him; for the righteousness which he has done he shall live. 23 Have I any pleasure in the death of the wicked, says the Lord God, and not rather that he should turn from his way and live? 24 But when a righteous man turns away from his righteousness and commits iniquity and does the same abominable things that the wicked man does, shall he live? None of the righteous deeds which he has done shall be remembered; for the treachery of which he is guilty and the sin he has committed, he shall die.
25 “Yet you say, ‘The way of the Lord is not just.’ Hear now, O house of Israel: Is my way not just? Is it not your ways that are not just? 26 When a righteous man turns away from his righteousness and commits iniquity, he shall die for it; for the iniquity which he has committed he shall die. 27 Again, when a wicked man turns away from the wickedness he has committed and does what is lawful and right, he shall save his life. 28 Because he considered and turned away from all the transgressions which he had committed, he shall surely live, he shall not die.