Because they met not the children of Israel with bread and with water, but hired Balaam against them, that he should curse them: however, our God turned the curse into a blessing.
O my people, remember now what Balak king of Moab consulted, and what Balaam the son of Beor answered him from Shittim to Gilgal; that you may know the righteousness of the LORD.
And the King shall answer and say to them, Truly I say to you, Inasmuch as you have done it to one of the least of these my brothers, you have done it to me.
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:
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.
Nevertheless the LORD your God would not listen to Balaam; but the LORD your God turned the curse into a blessing to you, because the LORD your God loved you.