Ezekiel 18:20

18:20 The person who sins is the one who will die. A son will not suffer for his father’s iniquity, and a father will not suffer for his son’s iniquity; the righteous person will be judged according to his righteousness, and the wicked person according to his wickedness.

Ezekiel 18:24

18:24 “But if a righteous man turns away from his righteousness and practices wrongdoing according to all the abominable practices the wicked carry out, will he live? All his righteous acts will not be remembered; because of the unfaithful acts he has done and the sin he has committed, he will die.