But if a wicked person turns from the wickedness he has committed and does what is just and right, he will preserve his life.