Nehemiah 13:1-2

1 On that day the Book of Moses was read out loud, so that all the people could hear. They found this law written there: No Ammonite and no Moabite would be permitted to join in the meetings with God.

2 That law was written because those people didn’t give the Israelites food and water. And they had paid Balaam to say a curse against the Israelites. But our God changed that curse and made it a blessing for us.