Exodus 34:7

7 akeeping steadfast love for thousands,
Or to the thousandth generation
cforgiving iniquity and transgression and sin, but dwho will by no means clear the guilty, evisiting the iniquity of the fathers on the children and the children’s children, to the third and the fourth generation.”
Copyright information for ESV