How is this to be understood, that He punishes the sin of the fathers on their children?
To give us a greater fear of Him. He says not only that He will inflict punishment on those who offend Him, but that their offspring also will be cursed after them.