Scripture
Exodus 20:4
Cited in the Confessions
Westminster Shorter Catechism
Q. 49 —
…thy God am a jealous God, visiting the iniquity of the fathers upon the children unto the third and fourth generation of them that hate me; and showing mercy unto thousands of them that love me, and keep my commandments.