20 The one who sins is the one who will die. The child will not share the guilt of the parent, nor will the parent share the guilt of the child. The righteousness of the righteous will be credited to them, and the wickedness of the wicked will be charged against them.
21 “But if a wicked person turns away from all the sins they have committed and keeps all my decrees and does what is just and right, that person will surely live; they will not die.
22 None of the offenses they have committed will be remembered against them. Because of the righteous things they have done, they will live.

References for Ezekiel 18:22

23 Do I take any pleasure in the death of the wicked? declares the Sovereign LORD. Rather, am I not pleased when they turn from their ways and live?
24 “But if a righteous person turns from their righteousness and commits sin and does the same detestable things the wicked person does, will they live? None of the righteous things that person has done will be remembered. Because of the unfaithfulness they are guilty of and because of the sins they have committed, they will die.
25 “Yet you say, ‘The way of the Lord is not just.’ Hear, you Israelites: Is my way unjust? Is it not your ways that are unjust?
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

28 Because they consider all the offenses they have committed and turn away from them, that person will surely live; they will not die.

References for Ezekiel 18:28

29 Yet the Israelites say, ‘The way of the Lord is not just.’ Are my ways unjust, people of Israel? Is it not your ways that are unjust?
30 “Therefore, you Israelites, I will judge each of you according to your own ways, declares the Sovereign LORD. Repent! Turn away from all your offenses; then sin will not be your downfall.