Ezekiel 18:27

Again, when a wicked man turns away from the wickedness which he committed, and does what is lawful and right, he preserves himself alive.