So there went up thither of the people about three thousand
men
Joshua detached from the army the largest number proposed, that there might be strength enough to take the place; and those he sent under proper officers to Ai, who went up to the very gate of the city, as appears from ( Joshua 7:5 ) :
and they fled before the men of Ai;
for upon their appearing at the gate of their city, they came out with all their forces against them, and as soon as they did, the children of Israel durst not face them, but without engaging with them fled at once: God having forsaken them, their courage failed, the dread of their enemies falling on them.