Ezekiel 18:21-28 NKJV
“But if a wicked man turns from all his sins which he has committed, keeps all My statutes, and does what is lawful and right, he shall surely live; he shall not die. None of the transgressions which he has committed shall be remembered against him; because of the righteousness which he has done, he shall live. Do I have any pleasure at all that the wicked should die?” says the Lord GOD, “and not that he should turn from his ways and live?
“But when a righteous man turns away from his righteousness and commits iniquity, and does according to all the abominations that the wicked man does, shall he live? All the righteousness which he has done shall not be remembered; because of the unfaithfulness of which he is guilty and the sin which he has committed, because of them he shall die.
“Yet you say, ‘The way of the Lord is not fair.’ Hear now, O house of Israel, is it not My way which is fair, and your ways which are not fair? When a righteous man turns away from his righteousness, commits iniquity, and dies in it, it is because of the iniquity which he has done that he dies. Again, when a wicked man turns away from the wickedness which he committed, and does what is lawful and right, he preserves himself alive. Because he considers and turns away from all the transgressions which he committed, he shall surely live; he shall not die.
NKJV: New King James Version