Deuteronomy 23:8

MKJV(i) 8 The sons that are born to them shall enter into the congregation of Jehovah in their third generation.