Then I looked things over and told the leaders, the officials, and the rest of the people, “Don't be afraid of your enemies! The Lord is great and fearsome. So think of him and fight for your relatives and children, your wives and homes!”
Their chariot wheels got stuck, and it was hard for them to move. So the Egyptians said to one another, “Let's leave these people alone! The LORD is on their side and is fighting against us.”
Moses called the nation of Israel together and told them: When you were in Egypt, you saw the LORD perform great miracles that caused trouble for the king, his officials, and everyone else in the country.
But he has promised that he and Joshua will lead you across the Jordan to attack the nations that live on the other side. The LORD will destroy those nations just as he destroyed Sihon and Og, those two Amorite kings. Just remember—whenever you capture a place, kill everyone who lives there.
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.