Deuteronomy 5:9

Amplified Bible (AMP)
You shall not worship them or serve them; for I, the Lord your God, am a [b]jealous (impassioned) God [demanding what is rightfully and uniquely mine], visiting (avenging) the iniquity (sin, guilt) of the fathers on the children [that is, calling the children to account for the sins of their fathers], to the third and the fourth generations of those who hate Me,

Read Deuteronomy 5:9 in other translations