1Now all the kings west of the Jordan River heard about what had happened. These were the kings of the Hittites, Amorites, Canaanites, Perizzites, Hivites, and Jebusites, who lived in the hill country, in the western foothills, and along the coast of the Mediterranean Sea as far north as the Lebanon mountains.
4they resorted to deception to save themselves. They sent ambassadors to Joshua, loading their donkeys with weathered saddlebags and old, patched wineskins.
6When they arrived at the camp of Israel at Gilgal, they told Joshua and the men of Israel, “We have come from a distant land to ask you to make a peace treaty with us.”
10We have also heard what he did to the two Amorite kings east of the Jordan River—King Sihon of Heshbon and King Og of Bashan (who lived in Ashtaroth).
11So our elders and all our people instructed us, ‘Take supplies for a long journey. Go meet with the people of Israel and tell them, “We are your servants; please make a treaty with us.”’
13These wineskins were new when we filled them, but now they are old and split open. And our clothing and sandals are worn out from our very long journey.”
15Then Joshua made a peace treaty with them and guaranteed their safety, and the leaders of the community ratified their agreement with a binding oath.
17The Israelites set out at once to investigate and reached their towns in three days. The names of these towns were Gibeon, Kephirah, Beeroth, and Kiriath-jearim.
18But the Israelites did not attack the towns, for the Israelite leaders had made a vow to them in the name of the LORD, the God of Israel. The people of Israel grumbled against their leaders because of the treaty.
22Joshua called together the Gibeonites and said, “Why did you lie to us? Why did you say that you live in a distant land when you live right here among us?
24They replied, “We did it because we—your servants—were clearly told that the LORD your God commanded his servant Moses to give you this entire land and to destroy all the people living in it. So we feared greatly for our lives because of you. That is why we have done this.
27But that day he made the Gibeonites the woodcutters and water carriers for the community of Israel and for the altar of the LORD—wherever the LORD would choose to build it. And that is what they do to this day.