SEV Biblia, Chapter 8:12
Y tomó como cinco mil hombres, y los puso en emboscada entre Bet-el y Hai, a la parte occidental de la ciudad.
John Gill's Bible Commentary
Ver. 12. And he took about five thousand men, and set them to lie in ambush , etc.] This was another ambush, as both Jarchi and Kimchi observe; and the latter adds, perhaps he set them nearer the city than the former; though some are of opinion that these are the same ambush spoken of, whose number is here given, being set on the same side of the city; and they suppose that Joshua had with him but thirty thousand men in all, five thousand of which he sent to lie in ambush, and the other twenty five thousand remained with him; but it seems clear that all the men of war were to be taken, and were taken by them, and that out of them thirty thousand were sent by him to lie in wait at first, and now five thousand more: between Bethel and Ai, on the west side of the city ; and though they were on the same side of the city with the first and larger ambush, yet, as Abarbinel observes, they might be set nearer the city and to the army; and he supposes the first ambush was to take the city, and the second little ambush, as he calls it, was placed, that when the men of the city came out, they might make a noise and a stir, and skirmish with them, that so they might not come upon the camp suddenly.
Matthew Henry Commentary
Verses 3-22 - Observe Joshua's conduct and prudence. Those that would maintain their spiritual conflicts must not love their ease. Probably he went into the valley alone, to pray to God for a blessing, and he did not seek in vain. He never drew back till the work was done. Those that have stretched out their hands against their spiritual enemies, must neve draw them back.
Original Hebrew
ויקח 3947 כחמשׁת 2568 אלפים 505 אישׁ 376 וישׂם 7760 אותם 853 ארב 693 בין 996 בית אל 1008 ובין 996 העי 5857 מים 3220 לעיר׃ 5892