10 So the Lord said to Joshua: "Get up! Why do you lie thus on your face? 11 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. 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:10-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.