Joshua 8:17
"And there was not a man left in Ai or Bethel, that went not out after Israel: and they left the city open, and pursued after Israel."
Cross References (ranked by relevance)
For it was of the LORD to harden their hearts, that they should come against Israel in battle, that he might destroy them utterly, and that they might have no favour, but that he might destroy them, as the LORD commanded Moses.
He taketh the wise in their own craftiness: and the counsel of the froward is carried headlong.
So Joshua arose, and all the people of war, to go up against Ai: and Joshua chose out thirty thousand mighty men of valour, and sent them away by night.
But Sihon king of Heshbon would not let us pass by him: for the LORD thy God hardened his spirit, and made his heart obstinate, that he might deliver him into thy hand, as appeareth this day.