Now when all the kings west of the Jordan heard about these things--those in the hill country,1 in the western foothills, and along the entire coast of the Mediterranean Sea2 as far as Lebanon3 (the kings of the Hittites, Amorites, Canaanites, Perizzites,4 Hivites5 and Jebusites)6--
they came together to make war against Joshua and Israel.
However, when the people of Gibeon7 heard what Joshua had done to Jericho and Ai,84
they resorted to a ruse: They went as a delegation whose donkeys were loadeda with worn-out sacks and old wineskins, cracked and mended.
They put worn and patched sandals on their feet and wore old clothes. All the bread of their food supply was dry and moldy.
Then they went to Joshua in the camp at Gilgal9 and said to him and the Israelites, "We have come from a distant country;10 make a treaty11 with us."
The Israelites said to the Hivites,12 "But perhaps you live near us, so how can we make a treaty13 with you?"
"We are your servants,14" they said to Joshua. But Joshua asked, "Who are you and where do you come from?"
They answered: "Your servants have come from a very distant country15 because of the fame of the LORD your God. For we have heard reports16 of him: all that he did in Egypt,1710
and all that he did to the two kings of the Amorites east of the Jordan--Sihon king of Heshbon,18 and Og king of Bashan,19 who reigned in Ashtaroth.2011
And our elders and all those living in our country said to us, 'Take provisions for your journey; go and meet them and say to them, "We are your servants; make a treaty with us." '
This bread of ours was warm when we packed it at home on the day we left to come to you. But now see how dry and moldy it is.
And these wineskins that we filled were new, but see how cracked they are. And our clothes and sandals are worn out by the very long journey."
The Israelites sampled their provisions but did not inquire21 of the LORD.
Then Joshua made a treaty of peace22 with them to let them live,23 and the leaders of the assembly ratified it by oath.
Three days after they made the treaty with the Gibeonites, the Israelites heard that they were neighbors, living near24 them.
So the Israelites set out and on the third day came to their cities: Gibeon, Kephirah, Beeroth25 and Kiriath Jearim.2618
But the Israelites did not attack them, because the leaders of the assembly had sworn an oath27 to them by the LORD, the God of Israel. The whole assembly grumbled28 against the leaders,
but all the leaders answered, "We have given them our oath by the LORD, the God of Israel, and we cannot touch them now.
This is what we will do to them: We will let them live, so that God's wrath will not fall on us for breaking the oath29 we swore to them."
They continued, "Let them live,30 but let them be woodcutters and water carriers31 for the entire community." So the leaders' promise to them was kept.
Then Joshua summoned the Gibeonites and said, "Why did you deceive us by saying, 'We live a long way32 from you,' while actually you live near33 us?
You are now under a curse:34 You will never cease to serve as woodcutters and water carriers for the house of my God."
They answered Joshua, "Your servants were clearly told35 how the LORD your God had commanded his servant Moses to give you the whole land and to wipe out all its inhabitants from before you. So we feared for our lives because of you, and that is why we did this.
We are now in your hands.36 Do to us whatever seems good and right37 to you."
So Joshua saved them from the Israelites, and they did not kill them.
That day he made the Gibeonites38 woodcutters and water carriers39 for the community and for the altar of the LORD at the place the LORD would choose.40 And that is what they are to this day.