Cause of Israel’s defeat

6 Joshua ripped open his clothes. He, along with the elders of Israel, lay flat on their faces before the LORD's chest until evening. They put dust on their heads.
References for Joshua 7:6