Joshua 7:12

12 This is why the Israelites cannot stand against their enemies. They will turn their backs [and run] from their enemies, because they have been set apart for destruction. I will no longer be with you unless you remove from you what is set apart.

Joshua 7:12 Meaning and Commentary

Joshua 7:12

Therefore the children of Israel could not stand before their
enemies
Being forsaken of God for the sin committed among them:

[but] turned [their] backs before their enemies:
had not courage to face them, but fled as soon as they appeared:

because they were accursed;
of God for the accursed thing that had been taken, as was threatened would be their case, should they take any of it; ( Joshua 6:18 ) ;

neither will I be with you any more, until ye take away the accursed
thing from among you;
that is, until they had put to death the person who had taken of the accursed thing, and made himself thereby accursed, and even all the camp of Israel; till this was done, the Lord would not be with them to protect and defend them, and give them success against their enemies.

Joshua 7:12 In-Context

10 The Lord then said to Joshua, "Stand up! Why are you on the ground?
11 Israel has sinned. They have violated My covenant that I appointed for them. They have taken some of what was set apart. They have stolen, deceived, and put [the things] with their own belongings.
12 This is why the Israelites cannot stand against their enemies. They will turn their backs [and run] from their enemies, because they have been set apart for destruction. I will no longer be with you unless you remove from you what is set apart.
13 "Go and consecrate the people. Tell them to consecrate themselves tomorrow, for this is what the Lord, the God of Israel, says, 'There are among you, Israel, things set apart. You will not be able to stand against your enemies until you remove what is set apart.
14 In the morning you must present yourselves tribe by tribe. The tribe the Lord selects is to come forward clan by clan. The clan the Lord selects is to come forward family by family. The family the Lord selects is to come forward man by man.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.