Ezra 9:7 & 8

"'From the days of our forefathers until now, our guilt has been great. Because of our sins, we and our kings and our priests have been subjected to the sword and captivity, to pillage and humiliation at the hand of foreign kings, as it is today. But now, for a brief moment, the Lord our God has been gracious in leaving us a remnant and giving us a firm place in his sanctuary, and so our God gives light to our eyes and a little relief in our bondage.'" NIV translation

The prophet recounts the fact that the people had a history of turning from God and facing exile at the hands of foreign kings. He acknowledges that it is only the grace of God that has brought them back to Jerusalem.

As with them, it is only the grace of God that restores our relationship with Him.

Ezra 9:9

"'Though we are slaves, our God has not deserted us in our bondage. He has shown us kindness in the sight of the kings of Persia: He has granted us new life to rebuild the house of our God and repair its ruins, and he has given us a wall of protection in Judah and Jerusalem.'" NIV translation

Ezra tells of God's mercy on His people and the fact that He has blessed them with the opportunity to rebuild. He also recounts how God protected them when they did not have a wall around the city.