The pattern repeats itself again later in the final chapters of the book, where Nehemiah thinks he has won over the enemy only to find the enemy had already infiltrated their camps.
We have a habit of not leaving anything to chance. We feel the need to plan for our future and have a five year plan for our personal and work lives but seldom for our spiritual lives.
Nehemiah got off to a rocky start and as he will learn the lesson the hard way, that his efforts of securing the city had no effect on the hearts of the people, as they had already fortified their hearts to keep God out.
Ezra, who was sent to teach the scriptures to the exiles, spent his first stint in Jerusalem, separating families to purify the people rather than letting God deal with His people.
When God guides our paths, all the arrangements are made for us. Ezra did not have to worry about the finances for his trip or the funds for the temple sacrifices and ornaments or even to gather his troops, everything was prepared by God.
Fifteen years after the work on the temple had been halted due to numerous oppositions that the exiles faced, God sent his word to the people of Israel. First through the prophet Haggai (Haggai 1) and then two months later through the prophet Zechariah (Zechariah 1), God spoke to the people commanding them to restart the work on the temple.