Numbers 14:18

Amplified Bible (AMP)
‘The Lord is slow to anger, and abundant in lovingkindness, forgiving wickedness and transgression; but He will by no means clear the guilty, visiting (avenging) the wickedness and guilt of the fathers on the children, to the third and fourth generations [that is, calling the children to account for the sins of their fathers].’

Read Numbers 14:18 in other translations