Joshua 9:6
9:6 They came to Joshua at the camp in Gilgal and said to him and the men of Israel, “We have come from a distant land. Make a treaty with us.”
Joshua 9:15
9:15 Joshua made a peace treaty with them and agreed to let them live. The leaders of the community sealed it with an oath.