Nehemiah 13:1-3

Israel Separates Itself

1 On that day the book of Moses was read in the hearing of the people and it was found written in it that no Ammonite or Moabite should ever come into the assembly of God
2 because they did not come to meet the {Israelites} with bread and water, but hired Balaam against them in order to curse them--but our God changed the curse into a blessing.
3 So it happened when they heard the law that they separated all of the foreign people from Israel.