Ezekiel 18:27

27 "But suppose a sinful person turns away from the evil things he has done. And he does what is fair and right. Then he will save his life.

Ezekiel 18:27 In-Context

25 "But you say, 'What the Lord does isn't fair.' Listen to me, people of Israel. What I do is always fair. What you do is not.
26 "Suppose a godly person stops doing what is right. And he commits sin. Then he will die because of it. He will die because of the sin he has committed.
27 "But suppose a sinful person turns away from the evil things he has done. And he does what is fair and right. Then he will save his life.
28 He thinks about all of the evil things he has done. And he turns away from them. So you can be sure he will live. He will not die.
29 "But the people of Israel still say, 'What the Lord does isn't fair.' People of Israel, what I do is always fair. What you do is not.
Holy Bible, New International Reader's Version® Copyright © 1995, 1996, 1998 by Biblica.   All rights reserved worldwide.