Ezekiel 18:25-28
25 'Now, you say, "What the Lord does is unjust." Now listen, House of Israel: is what I do unjust? Is it not what you do that is unjust?
26 When the upright abandons uprightness and does wrong and dies, he dies because of the wrong which he himself has done.
27 Similarly, when the wicked abandons wickedness to become law-abiding and upright, he saves his own life.
28 Having chosen to renounce all his previous crimes, he will most certainly live: he will not die.