At that time the book of Moses was read publicly to the people. The command was found written in it that no Ammonite or Moabite should ever enter the assembly of God,
References for Nehemiah 13:1
because they did not meet the Israelites with food and water. Instead, they hired Balaam against them to curse them, but our God turned the curse into a blessing.
References for Nehemiah 13:2
When they heard the law, they separated all those of mixed descent from Israel.