Below are the scriptures used in this teaching.
5you shall not bow down to them nor serve them. For I, the Lord your God, am a jealous God, visiting the iniquity of the fathers upon the children to the third and fourth generations of those who hate Me, 6but showing mercy to thousands, to those who love Me and keep My commandments.
Exodus 20:5–6 NKJV
7Our fathers sinned and are no more, But we bear their iniquities.
Lamentations 5:7 NKJV
40‘But if they confess their iniquity and the iniquity of their fathers, with their unfaithfulness in which they were unfaithful to Me, and that they also have walked contrary to Me, 41and that I also have walked contrary to them and have brought them into the land of their enemies; if their uncircumcised hearts are humbled, and they accept their guilt— 42then I will remember My covenant with Jacob, and My covenant with Isaac and My covenant with Abraham I will remember; I will remember the land.
Leviticus 26:40–42 NKJV
13Christ has redeemed us from the curse of the law, having become a curse for us (for it is written, “Cursed is everyone who hangs on a tree”),
Galatians 3:13 NKJV