But if the wicked turn away from the wickedness they have committed and do what is just and right, they will save their lives. (NIV)
Again, when the wicked man turns away from his wickedness which he has committed and does that which is lawful and right, he shall save his life. (AMP)
Again, when the wicked man turneth away from his wickedness that he hath committed, and doeth that which is lawful and right, he shall save his soul alive. (KJV)