Many of the Hagrites died in battle, because God was fighting this battle against them. The tribes of Reuben, Gad, and East Manasseh lived in that territory until they were taken as prisoners to Assyria.
That's why God is on our side and will lead us into battle when the priests sound the signal on the trumpets. It's no use, Israelites. You might as well give up. There's no way you can defeat the LORD, the God your ancestors worshiped.
Asa prayed: LORD God, only you can help a powerless army defeat a stronger one. So we depend on you to help us. We will fight against this powerful army to honor your name, and we know that you won't be defeated. You are the LORD our God.
Soon after that happened, Hanani the prophet went to Asa and said: You depended on the king of Syria instead of depending on the LORD your God. And so, you will never defeat the Syrian army.
Then Jahaziel said: Your Majesty and everyone from Judah and Jerusalem, the LORD says that you don't need to be afraid or let this powerful army discourage you. God will fight on your side!
You won't even have to fight. Just take your positions and watch the LORD rescue you from your enemy. Don't be afraid. Just do as you're told. And as you march out tomorrow, the LORD will be there with you.
Early the next morning, as everyone got ready to leave for the desert near Tekoa, Jehoshaphat stood up and said, "Listen my friends, if we trust the LORD God and believe what these prophets have told us, the LORD will help us, and we will be successful."
The Egyptians are mere humans. They aren't God. Their horses are made of flesh; they can't live forever. When the LORD shows his power, he will destroy the Egyptians and all who depend on them. Together they will fall.
So the angel explained that it was the following message of the LORD to Zerubbabel: I am the LORD All-Powerful. So don't depend on your own power or strength, but on my Spirit.
If you have to go to war, you may find yourselves facing an enemy army that is bigger than yours and that has horses and chariots. But don't be afraid! The LORD your God rescued you from Egypt, and he will help you fight.
But the Lord stood beside me. He gave me the strength to tell his full message, so that all Gentiles would hear it. And I was kept safe from hungry lions.
The LORD fought on Israel's side, so Joshua and the Israelite army were able to capture these kings and take their land. They fought one battle after another, then they went back to their camp at Gilgal after capturing all that land.
David answered: You've come out to fight me with a sword and a spear and a dagger. But I've come out to fight you in the name of the LORD All-Powerful. He is the God of Israel's army, and you have insulted him too!