Joshua 7:4-5
7:4 So about three thousand men went up, but they fled from the men of Ai.
7:5 The men of Ai killed about thirty-six of them and chased them from in front of the city gate all the way to the fissures and defeated them on the steep slope. The people’s courage melted away like water.
Joshua 7:8-12
7:8 If only we had been satisfied to live on the other side of the Jordan! O Lord, what can I say now that Israel has retreated
before its enemies?
7:9 When the Canaanites and all who live in the land hear about this, they will turn against us and destroy the very memory of us
from the earth. What will you do to protect your great reputation?”
7:10 The Lord responded to Joshua, “Get up! Why are you lying there face down?
7:11 Israel has sinned; they have violated my covenantal commandment! They have taken some of the riches; they have stolen them and deceitfully put them among their own possessions.
7:12 The Israelites are unable to stand before their enemies; they retreat because they have become subject to annihilation. I will no longer be with you, unless you destroy what has contaminated you.