All of the kings who ruled west of the Jordan River heard about the battles Israel had won. That included the kings who ruled in the central hill country and the western hills. It also included those who ruled along the entire coast of the Mediterranean Sea all the way to Lebanon. They were the kings of the Hittites, Amorites, Canaanites, Perizzites, Hivites and Jebusites.
References for Joshua 9:1
They brought their armies together to fight against Joshua and Israel.
The people of Gibeon heard about what Joshua had done to Jericho and Ai.
So they decided to trick the people of Israel. They packed supplies as if they were going on a long trip. They loaded their donkeys with old sacks and old wineskins. The wineskins were cracked but had been mended.
The men put worn-out sandals on their feet. The sandals had been patched. The men also wore old clothes. All of the bread they took along was dry and moldy.
They went to Joshua in the camp at Gilgal. They spoke to him and the men of Israel. They said, "We've come from a country that's far away. Make a peace treaty with us."
The men of Israel spoke to the Hivites. They said, "But suppose you live close to us. If you do, we can't make a peace treaty with you."
"We'll serve you," they said to Joshua. But Joshua asked, "Who are you? Where do you come from?"
They answered, "We've come from a country that's very far away. We've come because the LORD your God is famous. We've heard reports about him. We've heard about everything he did in Egypt.
"We've heard about everything he did to Sihon and Og. They were the two kings of the Amorites. They ruled east of the Jordan River. Sihon was the king of Heshbon. Og was the king of Bashan. He ruled in Ashtaroth.
"Our elders and all of the people who are living in our country spoke to us. They said, 'Take supplies for your trip. Go and meet the people of Israel. Say to them, "We'll serve you. Make a peace treaty with us." '
"Look at our bread. It was warm when we packed it. We packed it at home on the day we left to come and see you. But look at how dry and moldy it is now.
When we filled these wineskins, they were new. But look at how cracked they are now. And our clothes and sandals are worn out because we've traveled so far."
The men of Israel looked over the supplies those men had brought. But they didn't ask the LORD what they should do.
Joshua made a peace treaty with the men who had come. He agreed to let them live. The leaders of the community took an oath to show that they agreed with the treaty.
The people of Israel made a peace treaty with the people of Gibeon. But three days later they heard that the people of Gibeon lived close to them.
So the people of Israel started out to go to the cities of those men. On the third day they came to Gibeon, Kephirah, Beeroth and Kiriath Jearim.
But they didn't attack those cities. That's because the leaders of the community had taken an oath and made a peace treaty with them. They had taken the oath in the name of the Lord, the God of Israel. The whole community told the leaders they weren't happy with them.
But all of the leaders answered, "We've made a peace treaty with them. We've taken an oath in the name of the Lord, the God of Israel. So we can't touch them now.
"But here is what we'll do to them. We'll let them live. Then the LORD's anger won't fall on us because we didn't keep the oath we took."
They continued, "Let them live. But let them cut wood and carry water for the whole community." So the leaders kept their promise to them.
Joshua sent for the people of Gibeon. He said, "Why did you trick us? You said, 'We live far away from you.' But in fact you live close to us.
So now you are under a curse. You will always serve us. You will always cut wood and carry water for the house of my God."
They answered Joshua, "We were clearly told what the LORD your God had commanded his servant Moses to do. He commanded him to give you the whole land. He also ordered him to wipe out all of its people to make room for you. So we were afraid you would kill us. That's why we tricked you.
We are now in your hands. Do to us what you think is good and right."
So Joshua saved the people of Gibeon. He didn't let the people of Israel kill them.
That day he made them cut wood and carry water. They had to serve the community of Israel. They also had to serve at the altar of the LORD at the place where he would choose to put it. And they still serve the people of Israel to this very day.