ESV: As soon as the people heard the law, they separated from Israel all those of foreign descent.
NIV: When the people heard this law, they excluded from Israel all who were of foreign descent.
NASB: So when they heard the Law, they excluded all foreigners from Israel.
CSB: When they heard the law, they separated all those of mixed descent from Israel.
NLT: When this passage of the Law was read, all those of foreign descent were immediately excluded from the assembly.
KJV: Now it came to pass, when they had heard the law, that they separated from Israel all the mixed multitude.
NKJV: So it was, when they had heard the Law, that they separated all the mixed multitude from Israel.