But if any one argue, "How then is it said, 'Who visiteth the sins of the parents upon the children unto the third and fourth generation'?" (Deut. v. 9); we should make this answer, that the assertion is not universal, but that it is spoken with reference to certain who came out of Egypt. And its meaning is of this kind; "Since these who have come out of Egypt, after signs and wonders, have become worse than their forefathers who saw none of these things, they shall suffer," It saith, "the same that those others suffered, since they have dared the same crimes." And that it was spoken of those ...men, any one who will give attention to the passage will more certainly know.
Source: Homily on the Gospel of John 56