Nehemiah 13:1-3 NLT

1 On that same day, as the Book of Moses was being read, the people found a statement which said that no Ammonite or Moabite should ever be permitted to enter the assembly of God.
2 For they had not been friendly to the Israelites when they left Egypt. Instead, they hired Balaam to curse them, though our God turned the curse into a blessing.
3 When this law was read, all those of mixed ancestry were immediately expelled from the assembly.