This group seems to be a portion of the "thirty thousand men" (Joshua 8:9). This smaller group remained in the ambush while the other 25,000 men attacked the city.