Deuteronomy 23:2-8

2 a“No one born of a forbidden union may enter the assembly of the  Lord. Even to the tenth generation, none of his descendants may enter the assembly of the  Lord.

3 bNo Ammonite or Moabite may enter the assembly of the  Lord. Even to the tenth generation, none of them may enter the assembly of the  Lord forever, 4 cbecause they did not meet you with bread and with water on the way, when you came out of Egypt, and because they dhired against you Balaam the son of Beor from Pethor of eMesopotamia, to curse you. 5But the  Lord your God would not listen to Balaam; instead the  Lord your God turned fthe curse into a blessing for you, because the  Lord your God loved you. 6You gshall not seek their peace or their prosperity all your days forever.

7“You shall not abhor an Edomite, for hhe is your brother. You shall not abhor an Egyptian, because iyou were a sojourner in his land. 8Children born to them in the third generation may enter the assembly of the  Lord.

Copyright information for ESV