Deuteronomy 23:2 (BSB)

2 No one of illegitimate birth may enter the assembly of the LORD, nor may any of his descendants, even to the tenth generation.

Berean Standard Bible: The Holy Bible, Berean Standard Bible, BSB, dedicated to the public domain berean.bible