Ezekiel 18:27

New International Version Bible (NIV)
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.

Read Ezekiel 18:27 in other translations