The document summarizes the second battle of Ai from the book of Joshua in the Bible. It describes Joshua's strategy of sending men to lie in ambush behind the city. When the king of Ai saw the Israelites across the valley, he led his men out of the city to attack them. Meanwhile, the ambush entered the city and set it on fire. The men of Ai were trapped between Joshua's men and the ambushers and were defeated, with 12,000 men killed. Joshua hung the king of Ai on a tree and burned the city as God had commanded.