They answered him, "We came from a country very far away because the LORD your God has become famous. We heard stories about him and everything he did in Egypt.
We also heard everything he did to the two kings of the Amorites east of the Jordan, King Sihon of Heshbon and King Og of Bashan in Ashtaroth.
Our leaders and everyone who lives in our country told us, 'Take what you need for the trip, and go meet them. Tell them, "We're at your mercy. Make a treaty with us right now."'
Our bread was warm when we left home to meet with you. Look at it now! It's dry and crumbling.
These were new wineskins when we filled them. Look at them now! See how they are splitting! Our clothes and sandals are also worn-out because we have come such a long way."
The men believed the evidence they were shown, but they did not ask the LORD about it.
So Joshua made peace with them by making a treaty which allowed them to live. The leaders of the congregation swore to it with an oath.
But three days after the treaty was made, the Israelites heard that these people were their neighbors and lived with them.
The Israelites broke camp. They came to the cities of Gibeon, Chephirah, Beeroth, and Kiriath Jearim two days later.
The Israelites didn't destroy these other people, because the leaders of the congregation had sworn an oath about them to the LORD God of Israel. The whole congregation complained about the leaders.
But all the leaders said to them, "We have sworn an oath about them to the LORD God of Israel, so we cannot touch them now.