Take you twelve men out of the people
Joshua had before this ordered twelve men to be taken from among them, which seems to have been done of himself; and now he has a direction from God for it, and what to employ them in:
out of every tribe a man;
so that what they did was in the name of the several tribes, and as representing them.