Exodus 20:5

20:5 You shall not bow down to them or serve them, for I, the Lord, your God, am a jealous God, responding to the transgression of fathers by dealing with children to the third and fourth generations of those who reject me,

Deuteronomy 5:9

5:9 You must not worship or serve them, for I, the Lord your God, am a jealous God. I punish the sons, grandsons, and great-grandsons for the sin of the fathers who reject me,

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.