Ezra 10:10-11

10 Then Ezra the priest stood up and said to them, “You have trespassed and married foreign women, and so increased the guilt of Israel. 11 Now make confession to the Lord the God of your ancestors, and do his will; separate yourselves from the peoples of the land and from the foreign wives.”