“They left the city open.” This was overconfidence. The king should have made sure there was some protection in the city. The men did not close the city gate when they left. This certainly made it easier for Joshua’s ambush to take the city. It is possible that this advantage was unexpected.