Joshua 7:10-12 NKJV
So the LORD said to Joshua: “Get up! Why do you lie thus on your face? Israel has sinned, and they have also transgressed My covenant which I commanded them. For they have even taken some of the accursed things, and have both stolen and deceived; and they have also put it among their own stuff. Therefore the children of Israel could not stand before their enemies, but turned their backs before their enemies, because they have become doomed to destruction. Neither will I be with you anymore, unless you destroy the accursed from among you.
NKJV: New King James Version