וַיַּעַן֩ שְׁכַנְיָ֨ה בֶן־יְחִיאֵ֜ל מִבְּנֵ֤י עולם [עֵילָם֙] וַיֹּ֣אמֶר לְעֶזְרָ֔א אֲנַ֙חְנוּ֙ מָעַ֣לְנוּ בֵאלֹהֵ֔ינוּ וַנֹּ֛שֶׁב נָשִׁ֥ים נָכְרִיּ֖וֹת מֵעַמֵּ֣י הָאָ֑רֶץ וְעַתָּ֛ה יֵשׁ־מִקְוֶ֥ה לְיִשְׂרָאֵ֖ל עַל־זֹֽאת׃
And Shecaniah the son of Jehiel, one of the sons of Elam, answered and said unto Ezra: ‘We have broken faith with our God, and have married foreign women of the peoples of the land; yet now there is hope for Israel concerning this thing.
Read halakhic rulings (Jewish law) on Ezra 10:2: and classical halakhic sources.