Nehemiah 7:2-4

2 that I gave my brother Hanani, and Hananiah the governor of the castle, charge over Jerusalem, for he was a faithful man, and feared God above many.

3 And I said to them, Let not the gates of Jerusalem be opened until the sun be hot, and while they stand on guard, let them shut the doors, and bar ye them. And appoint watchmen of the inhabitants of Jerusalem, everyone in his watch, and everyone to be opposite his house.

4 Now the city was wide and large, but the people in it were few, and the houses were not built.