Deuteronomy 23:3-6 English Standard Version Anglicised (ESVUK)
3 “No 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 for ever, 4 because they did not meet you with bread and with water on the way, when you came out of Egypt, and because they hired against you Balaam the son of Beor from Pethor of Mesopotamia, to curse you. 5 But the Lord your God would not listen to Balaam; instead the Lord your God turned the curse into a blessing for you, because the Lord your God loved you. 6 You shall not seek their peace or their prosperity all your days for ever.