KJV
And it came to pass, when all the kings
of the Amorites, which [were] on the side of Jordan westward, and all the
kings of the Canaanites, which [were] by the sea, heard that the LORD had
dried up the waters of 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.
BSB
Now when all the Amorite kings west of the Jordan and all the Canaanite kings along the coast heard how the LORD had dried up the waters of the Jordan before the Israelites until they had crossed over, their hearts melted and their spirits failed for fear of the Israelites.