9:1-38
Fasting, sackcloth and ashes was a traditional way of expressing repentance. So the Israelites gathered to express their repentance, both for themselves and for their ancestors. Mingling with, and marrying foreigners was one of their sins. They read from the Law, confessed their sins and worshipped the Lord. Not marrying non-Christians is still a good recommendation for Christians. The objection may be that by doing so they may bring the unbelieving person to faith. Sometimes this may happen, but more often than not it is the other way round. The Levites led the people in worship, the worship recounted how God had faithfully saved and led the nation over many years, The Lord had given them regulations and laws, the observing of which would have blessed Israel, and other nations as well. However, the people “became arrogant and stiff-necked” and did not obey the commands.And so they ended up in exile, but God was gracious and compassionate, and eventually brought them back to the land. Note that it says “you gave your good Spirit to instruct them”. Part of the work of the Holy Spirit is to instruct us in the ways of the Lord.
The people had many opportunities to repent. The Lord sent numerous prophets, but they killed them. Time and time again (see Judges) God delivered them from an enemy, only for them to turn back to their evil ways again.
The people admitted all this, and committed themselves to the Lord. Their commitment was backed up by the leaders, Levites and the priests.