Joshua 8:15; Joshua 8:24

15 And Joshua and all Israel qpretended to be beaten before them and fled in the direction of the wilderness.

24 When Israel had finished killing all the inhabitants of Ai in the open wilderness where they pursued them, and all of them to the very last had fallen by the edge of the sword, all Israel returned to Ai and struck it down with the edge of the sword.