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.