Ezekiel 18:22

22 None of the transgressions he has committed will be remembered against him; for the righteousness that he has done, he will live.

Ezekiel 18:22 In-Context

20 The person who sins is the one that will die - a son is not to bear his father's guilt with him, nor is the father to bear his son's guilt with him; but the righteousness of the righteous will be his own, and the wickedness of the wicked will be his own.
21 "However, if the wicked person repents of all the sins he committed, keeps my laws and does what is lawful and right; then he will certainly live, he will not die.
22 None of the transgressions he has committed will be remembered against him; for the righteousness that he has done, he will live.
23 Do I take any pleasure at all in having the wicked person die?" asks Adonai ELOHIM. "Wouldn't I prefer that he turn from his ways and live?
24 "On the other hand, when the righteous person turns away from his righteousness and commits wickedness by acting in accordance with all the disgusting practices that the wicked person does, will he live? None of the righteous deeds he has done will be remembered; for the trespasses and sins he has committed, he will die.
Complete Jewish Bible Copyright 1998 by David H. Stern. Published by Jewish New Testament Publications, Inc. All rights reserved. Used by permission.