15 And Joshua made peace with them, and he made a covenant with them to allow them to live happily, and the leaders of the congregation swore an oath to them.
16 And it happened that at the end of three days, after they made a covenant with them, they heard that they were their neighbors and living among them.
17 And the Israelites set out and went to their cities on the third day (their cities were Gibeon, Kephirah, Beeroth, and Kiriath Jearim).
18 But the Israelites did not attack them, because the leaders of the congregation had sworn to them by Yahweh the God of Israel. And all the congregation murmured against their leaders.
19 But all the leaders of the congregation said, “We have sworn to them by Yahweh the God of Israel, and so we cannot touch them.
20 This we will do to them: we will let them live so that wrath will not be on us because of the oath we swore to them.”
21 And the leaders said to them, “Let them live.” So they became woodcutters and water carriers for all the congregation, just as the leaders had said to them.