And the men of Ai smote of them about thirty and six men: for they chased them from before the gate even unto Shebarim, and smote them in the going down: wherefore the hearts of the people melted, and became as water. They chased them from before the gate even unto Shebarim - They seem to have presumed that the men of Ai would have immediately opened their gates to them, and therefore they marched up with confidence; but the enemy appearing, they were put to flight, their ranks utterly broken, and thirty-six of them killed. שברים Shebarim signifies breaches or broken places, and may here apply to the ranks of the Israelites, which were broken by the men of Ai; for the people were totally routed, though there were but few slain. They were panic-struck, and fled in the utmost confusion.
The hearts of the people melted - They were utterly discouraged; and by this gave an ample proof that without the supernatural assistance of God they could never have conquered the land.