Joshua 9:13-15 New King James Version (NKJV)

13. And these wineskins which we filled were new, and see, they are torn; and these our garments and our sandals have become old because of the very long journey.”

14. Then the men of Israel took some of their provisions; but they did not ask counsel of the Lord.

15. So Joshua made peace with them, and made a covenant with them to let them live; and the rulers of the congregation swore to them.

Joshua 9