Joshua sent men from Jericho to Ai. Ai is near Beth Aven, east of Bethel. He said to them, “Go, look at that country.” So the men went and looked at Ai.
He moved on to the hills east of Bethel, and he put up his tent—with Bethel on the west and Ai on the east. He also built an altar to the Lord there and worshiped the Lord.
Cry loudly, Heshbon, because Ai is destroyed. Cry, people of Rabbah, put on your sackcloth, and mourn. Run back and forth between the walls. Milcom will be taken away into captivity with its priests and officials.
“Israel, you act like a prostitute. Don’t let Judah become guilty too. Don’t go to Gilgal. Don’t go to Beth Aven. Don’t take the oath, ‘As the Lord lives. …’
From Shittim Joshua, son of Nun, secretly sent out two men as spies. He told them, “Go, look at that country, especially the city of Jericho.” So they went to Jericho and entered the house of a prostitute named Rahab to spend the night there.
They came back to Joshua and told him, “You don’t need to send all the troops. Only about two or three thousand men are needed to destroy Ai. Don’t tire the troops out by sending all of them. There are only a few troops in Ai.”
The Philistines assembled to fight against Israel. They had 30,000 chariots, 6,000 horsemen, and as many soldiers as the sand on the seashore. They camped at Michmash, east of Beth Aven.