12 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.
Matthew Henry's Commentary on Joshua 7:12
Commentary on Joshua 7:10-15
(Read Joshua 7:10-15)
God awakens Joshua to inquiry, by telling him that when this accursed thing was put away, all would be well. Times of danger and trouble should be times of reformation. We should look at home, into our own hearts, into our own houses, and make diligent search to find out if there be not some accursed thing there, which God sees and abhors; some secret lust, some unlawful gain, some undue withholding from God or from others. We cannot prosper, until the accursed thing be destroyed out of our hearts, and put out of our habitations and our families, and forsaken in our lives. When the sin of sinners finds them out, God is to be acknowledged. With a certain and unerring judgment, the righteous God does and will distinguish between the innocent and the guilty; so that though the righteous are of the same tribe, and family, and household with the wicked, yet they never shall be treated as the wicked.