Rebellion forces people into a wilderness experience . You cannot even win over these small enemies until you yourself submit to who or what you rebelled against.
Rebellion destroys unity among the brethren.
When you quit fighting among yourselves you will be ready to fight the really big enemies outside yourselves. Marching comes before fighting . God drilled Israel for three decades. You must learn to march in military order before you can fight in harmony. When they showed enough accountability to walk in formation they were ready to fight a war.