Joshua 7:1-3 Amplified Bible (AMP)
Israel Is Defeated at Ai
7 But the sons of Israel acted unfaithfully and violated their obligation in regard to the things [off limits] under the ban [those things belonging to the Lord], for Achan, the son of Carmi, the son of Zabdi, the son of Zerah, from the tribe of Judah, took some of the things under the ban [for personal gain]. Therefore the anger of the Lord burned against the Israelites.
2 Now 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.” So the men went up and spied out Ai. 3 Then they returned to Joshua and said to him, “Do not make all the people go up [to fight]; have only about two thousand or three thousand men go up and attack Ai; do not make the entire army go up there, for they [of Ai] are few.”