because they didn't meet the children of Yisra'el with bread and with water, but hired Bil`am against them, to curse them: however our God turned the curse into a blessing.
My people, remember now what Balak king of Mo'av devised, and what Bil`am the son of Be'or answered him from Shittim to Gilgal, that you may know the righteous acts of the LORD.*
An `Ammonite or a Mo'avite shall not enter into the assembly of the LORD; even to the tenth generation shall none belonging to them enter into the assembly of the LORD forever:
because they didn't meet you with bread and with water in the way, when you came forth out of Egypt, and because they hired against you Bil`am the son of Be'or from Petor of Aram-Naharayim, to curse you.
Nevertheless the LORD your God wouldn't listen to Bil`am; but the LORD your God turned the curse into a blessing to you, because the LORD your God loved you.