\v 1 Then all the kings who lived beyond the Jordan in the hill country, and in the lowlands along the shore of the Great Sea toward Lebanon—the Hittites, Amorites, Canaanites, Perizzites, Hivites, and the Jebusites—
\v 2 these joined together under one command, to wage war against Joshua and Israel.
\s5
\p
\v 3 When the inhabitants of Gibeon heard what Joshua had done to Jericho and to Ai,
\v 4 they acted with a cunning plan. They supplied themselves with provisions and took worn-out sacks and put them on their donkeys. They also took old wine skins that were worn, torn, and had been repaired.
\v 5 They put old and patched sandals on their feet, and dressed in old, worn-out clothing. All the bread in their food supply was dry and moldy.
\v 6 Then they went to Joshua in the camp at Gilgal and said to him and to the men of Israel, "We have traveled from a very far country, so now make a treaty with us."
\v 9 They said to him, "Your servants have come here from a land very far away, because of the name of Yahweh your God. We have heard a report about him and about everything that he did in Egypt—
\v 10 and everything that he did to the two kings of the Amorites on the other side of the Jordan—to Sihon king of Heshbon, and to Og king of Bashan who was at Ashtaroth.
\v 11 Our elders and all the inhabitants of our country said to us, 'Take provisions in your hand for the journey. Go to meet them and say to them, "We are your servants. Make a treaty with us."
\v 16 Three days after the Israelites made this treaty with them, they learned that they were their neighbors and that they lived nearby.
\v 17 Then the people of Israel set out and came to their cities on the third day. Their cities were Gibeon, Chephirah, Beeroth, and Kiriath Jearim.
\s5
\v 18 The people of Israel did not attack them because their leaders had taken an oath about them before Yahweh, the God of Israel. All the Israelites were grumbling against their leaders.
\v 19 But all the leaders said to all the people, "We have taken an oath concerning them by Yahweh, the God of Israel, and now we cannot harm them.
\v 21 The leaders said to their people, "Let them live." So, the Gibeonites became cutters of wood and drawers of water for all the Israelites, just as the leaders said about them.
\s5
\p
\v 22 Joshua called for them and said, "Why did you deceive us when you said, 'We are very far from you', when you live right here among us?
\v 23 Now, because of this, you are cursed and some of you will always be slaves, those who cut wood and draw water for the house of my God."
\s5
\v 24 They answered Joshua and said, "Because it was told to your servants that Yahweh your God 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. That is why we did this thing.
\v 26 So Joshua did this for them: he removed them out of the control of the people of Israel, and the Israelites did not kill them.
\v 27 That day Joshua made the Gibeonites cutters of wood and drawers of water for the community, and for the altar of Yahweh, to this day, in the place that Yahweh chooses.