Davis highlights an interesting structure in his analysis of Joshua 8:1–29:
Reassurance from the Lord (Joshua 8:1–2)
Instructions for the ambush (Joshua 8:3–9)
Joshua and Israel go up (Joshua 8:10–13)
Victory over Ai (Joshua 8:14–17)
Direction from the Lord (Joshua 8:18)
Action of the ambush (Joshua 8:19–20)
Joshua and all Israel turn back (Joshua 8:21–23)
Defeat of Ai (Joshua 8:24–27)
(Summary (Joshua 8:28–29))1
1 And the LORD said to Joshua, “Do not fear and do not be dismayed. Take all the fighting men with you, and arise, go up to Ai. See, I have given into your hand the king of Ai, and his people, his city, and his land.