Ezra 10:2

2And Shecaniah the son of Jehiel, of the sons of Elam, addressed Ezra: a“We have broken faith with our God and have married foreign women from the peoples of the land, but even now there is hope for Israel in spite of this.

Ezra 10:10-14

10And Ezra the priest stood up and said to them, “You have broken faith and married foreign women, and so increased the guilt of Israel. 11Now then bmake confession to the Lord, the God of your fathers and do his will. cSeparate yourselves from the peoples of the land and from the foreign wives.” 12Then all the assembly answered with a loud voice, “It is so; we must do as you have said. 13But the people are many, and it is a time of heavy rain; we cannot stand in the open. Nor is this a task for one day or for two, for we have greatly transgressed in this matter. 14Let our officials stand for the whole assembly. Let all in our cities who have taken foreign wives come dat appointed times, and with them the elders and judges of every city, euntil the fierce wrath of our God over this matter is turned away from us.”
Copyright information for ESV