2 Now Joshua sent men from Jericho to Ai, which is near Beth Aven to the east of Bethel, and told them, “Go up and spy out the region.” So the men went up and spied out Ai.

Read Joshua 7:2 Using Other Translations

And Joshua sent men from Jericho to Ai, which is beside Bethaven, on the east side of Bethel, and spake unto them, saying, Go up and view the country. And the men went up and viewed Ai.
Joshua sent men from Jericho to Ai, which is near Beth-aven, east of Bethel, and said to them, "Go up and spy out the land." And the men went up and spied out Ai.
Joshua sent some of his men from Jericho to spy out the town of Ai, east of Bethel, near Beth-aven.