Deuteronomy 10:22

10:22 When your ancestors went down to Egypt, they numbered only seventy, but now the Lord your God has made you as numerous as the stars of the sky.

Deuteronomy 23:2-3

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.

23:3 An Ammonite or Moabite may not enter the assembly of the Lord; to the tenth generation none of their descendants shall ever do so,