Deuteronomy 23:3-4
Deuteronomy 23: 3 to 4
3 An Ammonite or Moabite shall not enter into the congregation of the LORD; even to their tenth generation shall they not enter into the congregation of the LORD for ever:
4 Because they met you not with bread and with water in the way, when you came forth out of Egypt; and because they hired against you Balaam the son of Beor of Pethor of Mesopotamia, to curse you.