Ezekiel 18:17

18:17 refrains from wrongdoing, does not engage in usury or charge interest, carries out my regulations and follows my statutes. He will not die for his father’s iniquity; he will surely live.

Ezekiel 18:19

18:19 “Yet you say, ‘Why should the son not suffer for his father’s iniquity?’ When the son does what is just and right, and observes all my statutes and carries them out, he will surely live.