Joshua sent men from Jericho to Ai, which is beside Beth Aven, on the east side of Bethel, and spoke to them, saying, Go up and spy out the land. The men went up and spied out Ai.
I like this. It's like when Moses was lying on his face when they had found themselves trapped between Pihahiroth and Zephon, and the Red sea in front of them, and the Egyptian army had cut off their retreat route. Moses cried out unto the Lord, "We're trapped." The Lord said, "Wherefore thou criest unto me?" "Well who else am I gonna cry to? You're the one that led me down here." The Lord said, "Stretch forth your hand." In other words, "Hey, now's not the time to pray, time to move." There comes a time to move, and there's a time to pray. True. But then there's a time to get up and start moving. "And Moses, this isn't the time to pray, this is the time to move."Now with Joshua, here he is laying out the whole lament. "Lord, what are You doing to us? What are we gonna do turning our backs to the enemies? Boy, when this word gets around, they're all gonna come down, we're gonna get wiped out. We'd have been better off if we'd stayed on the other side. Lord, what are You doing?" The Lord said, "Stand up. Why are you crying unto me?" Then the Lord revealed to him that there was sin in the camp.