Sins of the Fathers

 Exodus 34:7 raises interesting questions.  Describing God, the verse reads:7 maintaining love to thousands, and forgiving wickedness, rebellion and sin. Yet he does not leave the guilty unpunished; he punishes the children and their children for the sin of the fathers to the third and fourth generation.”

What does it mean that God punishes the children for the sin of the fathers?