The one set of verses is saying that if evil goes unchecked the consequences will extend to succeeding generations because the offense isn't broken. The Ezekiel passage is clarifying that the son can break the cycle of sin and not be held accountable for the sin of the father or experience the judgment from his father's sin. Both principles are correct--sin cycles keep repeating unless broken--but each generation has the option of breaking that cycle and God will honor that break and stop the consequences.
Both of these truths are very relevant in the social issues of our day.

Last edited by Thunderstick; 07/02/19.