What does Deuteronomy 23:2 mean?
No one born from an illegitimate relationship, or any of their descendants for ten generations, can be part of the Lord’s assembly. Deuteronomy 23:2 - Modern Text Bible
(This rule excluded people born from certain unions from full community membership for a long time.)