"Do not fear them, for I have given them into your hands. Not a man of them shall stand before you” (v8). When Joshua and the other Israelite leaders did not consult the Lord, they were easily tricked and defeated (ch 9). But when they went to battle under God’s command, they were helped by hailstones and miraculous signs (v11,13), and their enemies fled before them. Joshua conquered a huge territory in one day, without losing anyone, because he was following the Lord (v41).
“For the Lord fought for Israel” (v14). We were never meant to face our battles alone; as we listen and trust in Him, God fights for us.