Deuteronomy 23:2
23:2
A person of illegitimate birth may not enter the assembly of the
Lord
; to the tenth generation no one related to him may do so.