@Village
Oh oh I know, I see what you mean. However it's established that God was with them, he backed them up, but they had to fight their fight. I'm just saying regardless of how we feel about the scripture, the bible asserts the people had to fight with faith God was with them to succeed; if this wavered and they grew fearful then they lost faith in God and they failed.
This applies in all their battles. Moses is recorded as commenting on it when the spies return with an unfavorable report. He says because of their lack of faith they will not succeed. The loss of faith is implied by the loss of the battle, all through the biblical account of the Israelites this is the reason they lose, lack of faith. Joshua 17:16 addresses these same people and you can see in the context the people are trying to avoid conflict with these people and Joshua says in effect, "what's the problem? God is with you go take care of it." So the Israelites had a long standing fear of these chariots and that is what made them fail.
their failure to oust all the people as directed is later used against them, and God promises because of their failure that they will thus remain among them as a snare (Judges 2:2, 3; compare Numbers 33:55).