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.
They have transgressed God's covenant for they have taken unto themselves of the treasure from Jericho ( Joshua 7:11 ).