Passage
Now when these things were done, the princes drew near unto me, saying, The people of Israel, and the priests and the Levites, have not separated themselves from the peoples of the lands, [doing] according to their abominations, even of the Canaanites, the Hittites, the Perizzites, the Jebusites, the Ammonites, the Moabites, the Egyptians, and the Amorites.
Nearby Context
Ezra 9:1 Now when these things were done, the princes drew near unto me, saying, The people of Israel, and the priests and the Levites, have not separated themselves from the peoples of the lands, [doing] according to their abominations, even of the Canaanites, the Hittites, the Perizzites, the Jebusites, the Ammonites, the Moabites, the Egyptians, and the Amorites.
Ezra 9:2 For they have taken of their daughters for themselves and for their sons, so that the holy seed have mingled themselves with the peoples of the lands: yea, the hand of the princes and rulers hath been chief in this trespass.
Ezra 9:3 And when I heard this thing, I rent my garment and my robe, and plucked off the hair of my head and of my beard, and sat down confounded.
Study Lenses
The verse centers on "things", "done", "princes", "drew", "near", "saying", "people", and "israel". It is saying that the verse draws attention to "things" and "done", so its meaning should be read from those terms before moving to application.
The next verse adds "For they have taken of their daughters...", so "things" and "done" should be read forward into that movement. In Ezra context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "things" and "done" with trust shaped by these words, not by a vague optimism outside the passage.