For they did not meet Bnei-Yisrael with bread and water, but instead hired Balaam against them to curse them. However, our God turned the curse into a blessing.
This very day I will begin to put the dread and fear of you upon the peoples everywhere under heaven. When they hear the report about you, they will tremble and twist in anguish because of you.’
So they answered Joshua and said: “It was because your servants were clearly told that Adonai your God had commanded His servant Moses to give you all the land and to destroy all the inhabitants of the land before you. So we were very afraid for our lives because of you, and so we did this.