Ezekiel 18:9

18:9 and follows my statutes and observes my regulations by carrying them out. That man is righteous; he will certainly live, declares the sovereign Lord.

Ezekiel 18:20-24

18:20 The person who sins is the one who will die. A son will not suffer for his father’s iniquity, and a father will not suffer for his son’s iniquity; the righteous person will be judged according to his righteousness, and the wicked person according to his wickedness.

18:21 “But if the wicked person turns from all the sin he has committed and observes all my statutes and does what is just and right, he will surely live; he will not die. 18:22 None of the sins he has committed will be held against him; because of the righteousness he has done, he will live. 18:23 Do I actually delight in the death of the wicked, declares the sovereign Lord? Do I not prefer that he turn from his wicked conduct and live?

18:24 “But if a righteous man turns away from his righteousness and practices wrongdoing according to all the abominable practices the wicked carry out, will he live? All his righteous acts will not be remembered; because of the unfaithful acts he has done and the sin he has committed, he will die.