Joshua 7:3-5 NIV

3 When they returned to Joshua, they said, "Not all the people will have to go up against Ai. Send two or three thousand men to take it and do not weary all the people, for only a few men are there."
4 So about three thousand men went up; but they were routed by the men of Ai,1

References for Joshua 7:4

5 who killed about thirty-six2 of them. They chased the Israelites from the city gate as far as the stone quarriesa and struck them down on the slopes. At this the hearts of the people melted3 and became like water.

References for Joshua 7:5