Exodus 34:7 GW

7 He continues to show his love to thousands of generations, forgiving wrongdoing, disobedience, and sin. He never lets the guilty go unpunished, punishing children and grandchildren for their parents' sins to the third and fourth generation."