So Joshua got up and took all the men of war up to Ai. Then Joshua chose thirty thousand men—strong, courageous men—and he sent them out at night.