DEUTERONOMY
"Fathers shall not be put to death for theirs sons nor shall sons be put to death for their fathers. Everyone shall be put to death for his own sin. The son will not bear the punishment for the father's inequity nor will his father bear the punishment for the son's inequity.
EXODUS talks about a jealous GOD and says not only will the sinful father be punished but also second and third generations. The sins of the father will be passed along to the son and the grandson. That is what an admittedly jealous God who is vengeful says will occur.
How can it be both? How can each sinner be responsible only for his own sin and at the same time suffer the punishment for his grandfather's and father's sin(s)? Inconsistency isn't it? Is GOD a dual GOD? A good side guy and a bad side guy? Split personality? Duality. Yin and Yang. Dark and Light. Good and not-so-hot? What used to be called MANIC DEPRESSIVE but now is called something else? If so then GOD is not perfect right? How can an imperfect anything be a GOD at all? The writers didn't get their stories straight before they sat down and wrote these chapters. No brainstorming. No conferences. No attempt to get it right FIRST before putting pen to paper. Which is why so many people do not believe that the Bible is the word of God. If so God is erratic quixotic idiosyncratic quirky. A changeling.