Exodus 20:5

5 aYou shall not bow down to them or serve them, for I the Lord your God am ba jealous God, cvisiting the iniquity of the fathers on the children to the third and the fourth generation of those who hate me,

Exodus 34:7

7 dkeeping steadfast love for thousands,
Or to the thousandth generation
fforgiving iniquity and transgression and sin, but gwho will by no means clear the guilty, hvisiting the iniquity of the fathers on the children and the children’s children, to the third and the fourth generation.”

Jeremiah 23:2

2Therefore thus says the Lord, the God of Israel, concerning ithe shepherds who care for my people: “You have scattered my flock and have driven them away, and you have not attended to them. jBehold, I will attend to you for your evil deeds, declares the Lord.
Copyright information for ESV