The LORD God of Israel fought for Israel. Joshua 10:42
Trivia: Why did God harden the hearts of Joshua's enemies in Joshua 11?