Joshua 8:3 NIV

3 So Joshua and the whole army moved out to attack Ai. He chose thirty thousand of his best fighting men and sent them out at night