# Joshua sent them out
This phrase refers to Joshua sending the thirty thousand men who had been selected to ambush Ai to where they would set the ambush.
# the place of ambush
"where they would hide until it was time to attack"