Exodus 20:5 pp
Deuteronomy 5:9The Sinaitic covenant makes references to the judgment of future generations for the sins of their parents but, as a principle, this is abolished by later prophets.
Curses for disobedience formed part of God's covenant with Israel: