\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 went as messengers. They took worn-out sacks and put them on their donkeys. They also took old wineskins that were worn, torn, and had been repaired.
\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 covenant with us."
\v 7 The men of Israel said to the Hivites, "Perhaps you live near us. How can we make a covenant with you?"
\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 13 These wineskins were new when we filled them, and look, now they are leaking. Our garments and our sandals are worn-out from a very long journey.'"
\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.