Ezekiel 18:26-27 NIV

26 If a righteous person turns from their righteousness and commits sin, they will die for it; because of the sin they have committed they will die.
27 But if a wicked person turns away from the wickedness they have committed and does what is just and right, they will save their life.

References for Ezekiel 18:27