Ezra 9:1-7

1 After these things had been done, the leaders came to me and said, "The people of Israel, including the priests and Levites, have failed to keep themselves separate from the neighboring groups of people and from the disgusting practices of the Canaanites, Hittites, Perizzites, Jebusites, Ammonites, Moabites, Egyptians, and Amorites.
2 The Israelites and their sons have married some of these foreign women. They have mixed our holy race with the neighboring groups of people. Furthermore, the leaders and officials have led the way in being unfaithful."
3 When I heard this, I tore my clothes [in distress], pulled hair from my scalp and my beard, and sat down in shock.
4 Since the former exiles had been unfaithful, everyone who gathered around me there trembled at the words of the God of Israel. I sat in shock until the evening sacrifice.
5 At the evening sacrifice I got up from my misery, and with my clothes torn, I knelt down, stretched out my hands to the LORD my God in prayer,
6 and said, "I am ashamed, my God. I am embarrassed to look at you. Our sins have piled up over our heads, and our guilt is so overwhelming that it reaches heaven.
7 From our ancestors' days until now, we have been deep in guilt. Our kings and our priests have been handed over to foreign kings to be executed. We have been taken captive, robbed, and humiliated, as we still are today because of our sins.