When all the Amorite kings west of the Jordan and all the Canaanite kings of the Mediterranean coast heard how the Lord had dried up the waters of the River Jordan so that the Israelites could cross over, their courage melted and they no longer had any fighting spirit to face the Israelites.
Read & study FBV 5:1And it came to pass, when all the kings of the Amorites, that were beyond the Jordan westward, and all the kings of the Canaanites, that were by the sea, heard how that Jehovah had dried up the waters of the Jordan from before the children of Israel, until we were passed over, that their heart melted, neither was there spirit in them any more, because of the children of Israel.
Read & study ASV 5:1