Ezekiel 18:27-30

18:27 When a wicked person turns from the wickedness he has committed and does what is just and right, he will preserve his life. 18:28 Because he considered and turned from all the sins he had done, he will surely live; he will not die. 18:29 Yet the house of Israel says, ‘The Lord’s conduct is unjust!’ Is my conduct unjust, O house of Israel? Is it not your conduct that is unjust?

18:30 “Therefore I will judge each person according to his conduct, O house of Israel, declares the sovereign Lord. Repent and turn from all your wickedness; then it will not be an obstacle leading to iniquity.