Joshua sent men from Jericho to Ai. Ai is near Beth Aven east of Bethel. Joshua told the men, “Go up and check out the area around Ai.” So the men went up and checked it out.
From there, Abram went on toward the hills east of Bethel. He set up his tent there. Bethel was to the west, and Ai was to the east. Abram built an altar there and called on the name of the Lord.
“Heshbon, weep for Ai! It is destroyed! Cry out, you who live in Rabbah! Put on the clothes of sadness and mourn. Run here and there inside the walls. Your god named Molek will be carried away. So will its priests and officials.
“Israel, you are not faithful to me. But I do not want Judah to become guilty too. “My people, do not go to Gilgal to offer sacrifices. Do not go up to Bethel to worship other gods. When you make a promise, do not say, ‘You can be sure that the Lord is alive.’
On the north side their border started at the Jordan River. It went past the north slope of Jericho. Then it headed west into the central hill country. It came to an end at the Desert of Beth Aven.
Joshua, the son of Nun, sent two spies from Shittim. He sent them in secret. He said to them, “Go and look over the land. Most of all, check out Jericho.” So they went to Jericho. They stayed at the house of a prostitute. Her name was Rahab.
Then they returned to Joshua. They said, “The whole army doesn’t have to go up and attack Ai. Send only two or three thousand men. They can take the city. Don’t make the whole army go up there. Only a few people live in Ai.”
The Philistines gathered together to fight against Israel. They had 3,000 chariots and 6,000 chariot drivers. Their soldiers were as many as the grains of sand on the seashore. They went up and camped at Mikmash. It was east of Beth Aven.