Because they met not the children of Israel with bread and with water, but hired Balaam against them, that he should curse them: howbeit our Elohim 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 unto Gilgal; that ye may know the righteousness of Yahweh.
And the King shall answer and say unto them, Verily I say unto you, Inasmuch as ye have done it unto one of the least of these my brethren, ye have done it unto me.
An Ammonite or Moabite shall not enter into the congregation of Yahweh; even to their tenth generation shall they not enter into the congregation of Yahweh for ever:
Because they met you not with bread and with water in the way, when ye came forth out of Egypt; and because they hired against thee Balaam the son of Beor of Pethor of Mesopotamia, to curse thee.
Nevertheless Yahweh thy Elohim would not hearken unto Balaam; but Yahweh thy Elohim turned the curse into a blessing unto thee, because Yahweh thy Elohim loved thee.