Ezekiel 18:21-23

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?

Ezekiel 18:26-27

18:26 When a righteous person turns back from his righteousness and practices wrongdoing, he will die for it; because of the wrongdoing he has done, he will die. 18:27 When a wicked person turns from the wickedness he has committed and does what is just and right, he will preserve his life.