the king of Jericho, the king of Ai (near Bethel),
Not one man was left in Ai or Bethel; they all went after Israel. So the city was left unprotected as they chased Israel.
The Lord said to Joshua, “Don’t be terrified or afraid. Take all the troops with you, and march against Ai. I am about to hand the king of Ai, his people, city, and land over to you.