Joshua 7:10-12

10 Yahweh said to Joshua, Get you up; why are you thus fallen on your face?  11 Israel has sinned; yes, they have even transgressed my covenant which I commanded them: yes, they have even taken of the devoted thing, and have also stolen, and dissembled also; and they have even put it among their own stuff.  12 Therefore the children of Israel can't stand before their enemies; they turn their backs before their enemies, because they are become accursed: I will not be with you any more, except you destroy the devoted thing from among you.