Deuteronomy 23:2 NLT

2 "Those of illegitimate birth and their descendants for ten generations may not be included in the assembly of the LORD."