Joshua 7:6-7

7:6 Joshua tore his clothes; he and the leaders of Israel lay face down on the ground before the ark of the Lord until evening and threw dirt on their heads. 7:7 Joshua prayed, “O, Master, Lord! Why did you bring these people across the Jordan to hand us over to the Amorites so they could destroy us?