וַיַּעֲל֤וּ מִן־הָעָם֙ שָׁ֔מָּה כִּשְׁלֹ֥שֶׁת אֲלָפִ֖ים אִ֑ישׁ וַיָּנֻ֕סוּ לִפְנֵ֖י אַנְשֵׁ֥י הָעָֽי׃
So there went up thither of the people about three thousand men; and they fled before the men of Ai.
Read halakhic rulings (Jewish law) on Joshua 7:4: and classical halakhic sources.