Smith's Bible Dictionary
Bastard. Among those who were excluded from entering the congregation, even to the tenth generation, was the bastard. Deuteronomy 23:2. The term is not, however, applied to any illegitimate offspring, born out of wedlock, but is restricted by the rabbins to the issue of any connection within the degrees prohibited by the law.
These files are public domain.
Smith, William, Dr. Entry for 'Bastard'. Smith's Bible Dictionary. https://www.studylight.org/dictionaries/eng/sbd/b/bastard.html. 1901.