Deuteronomy 23:8
The third generation of children born to them may enter the assembly of the LORD.
Berean Standard Bible
The children that are begotten of them shall enter into the congregation of the LORD in their third generation.
The children of the third generation who are born to them may enter into the LORD’s assembly.