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.
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."
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."
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.
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.
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.
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.