On hearing of the "great trouble and disgrace" of the people of Jerusalem, and of the broken down wall of the city, Nehemiah was deeply troubled. He prayed a prayer of repentance.