King James Version (KJV)
Now it came to pass, when they had heard the law, that they separated from Israel all the mixed multitude.
Modern English
As soon as the people heard the law, they separated from Israel all those of foreign descent.
Hebrew
וַיְהִ֕י כְּשָׁמְעָ֖ם אֶת הַתּוֹרָ֑ה וַיַּבְדִּ֖ילוּ כָּל עֵ֥רֶב מִיִּשְׂרָאֵֽל׃
vayhiy kshamʿam ʾet hatvorah vayabdiylv kal ʿereb miyishraʾel