On the taking of Ai, see Avraham Malamat, “How Inferior Israelite Forces Conquered Fortified Canaanite Cities,” BAR 08:02.