Ezekiel 18:20 King James Version (KJV)
20 The soul that sinneth, it shall die. The son shall not bear the iniquity of the father, neither shall the father bear the iniquity of the son: the righteousness of the righteous shall be upon him, and the wickedness of the wicked shall be upon him.
Clearly a context is needed. The Ezekiel passage is about times of drastic chastisement on the nation from external forces — the urgency of decision. The Exodus passage is about affairs in the nation when it’s business as usual — generational sin.
If the conditions on the Ezekiel passage were like that of the Exodus passage, nobody could repent and be saved as a result of beholding the scene and learning from it.
Thanks, I didn’t have my Bible with my notes with me but I knew I was right. If we continued to punish the next generation then the whole meaning of forgiveness is lost.