Deuteronomy 23:8 in the King James Version
The children that are begotten of them shall enter into the congregation of the LORD in their third generation.
Context
7 You shall not abhor an Edomite, for he is your brother. You shall not abhor an Egyptian, because you lived as a foreigner in his land.
8 The children of the third generation who are born to them may enter into the LORD’s assembly.
9 When you go out and camp against your enemies, then you shall keep yourselves from every evil thing.