Joshua 8:2-7
8:2 Do to Ai and its king what you did to Jericho
and its king, except you may plunder its goods and cattle. Set an ambush behind the city!”
8:3 Joshua and the whole army marched against Ai. Joshua selected thirty thousand brave warriors and sent them out at night.
8:4 He told them, “Look, set an ambush behind the city. Don’t go very far from the city; all of you be ready!
8:5 I and all the troops who are with me will approach the city. When they come out to fight us like before, we will retreat from them.
8:6 They will attack us until we have lured them from the city, for they will say, ‘They are retreating from us like before.’ We will retreat from them.
8:7 Then you rise up from your hiding place and seize the city. The Lord your God will hand it over to you.