The statement that sins will be visited even to the third and fourth generations of the the Fathers is one of the more worrying ones in Scripture. The Bible also clearly states that everyone is to be punished specifically for his own sin. Theologians can and do debate this endlessly. We think the answer is simple, and found in the latter part of the article on Predestination here.