when all the kings who were beyond the Jordan in the hill country and in the lowland all along the coast of the Great Sea toward Lebanon—the Hittites, the Amorites, the Canaanites, the Perizzites, the Hivites, and the Jebusites—heard of this, 2 they gathered together with one accord to fight Joshua and Israel.
3 But when the inhabitants of Gibeon heard what Joshua had done to Jericho and to Ai, 4 they on their part acted with cunning: they went and prepared provisions, and took worn-out sacks for their donkeys, and wineskins, worn-out and torn and mended, 5 with worn-out, patched sandals on their feet, and worn-out clothes; and all their provisions were dry and moldy. 6 They went to Joshua in the camp at Gilgal, and said to him and to the Israelites, “We have come from a far country; so now make a treaty with us.” 7 But the Israelites said to the Hivites, “Perhaps you live among us; then how can we make a treaty with you?” 8 They said to Joshua, “We are your servants.” And Joshua said to them, “Who are you? And where do you come from?” 9 They said to him, “Your servants have come from a very far country, because of the name of the Lordyour God; for we have heard a report of him, of all that he did in Egypt, 10 and of all that he did to the two kings of the Amorites who were beyond the Jordan, King Sihon of Heshbon, and King Og of Bashan who lived in Ashtaroth. 11 So 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; come now, make a treaty with us.”’ 12 Here is our bread; it was still warm when we took it from our houses as our food for the journey, on the day we set out to come to you, but now, see, it is dry and moldy; 13 these wineskins were new when we filled them, and see, they are burst; and these garments and sandals of ours are worn out from the very long journey.” 14 So the leaders partook of their provisions, and did not ask direction from the Lord. 15 And Joshua made peace with them, guaranteeing their lives by a treaty; and the leaders of the congregation swore an oath to them.