Joshua 9:15 Midrash

וַיַּ֨עַשׂ לָהֶ֤ם יְהוֹשֻׁ֙עַ֙ שָׁל֔וֹם וַיִּכְרֹ֥ת לָהֶ֛ם בְּרִ֖ית לְחַיּוֹתָ֑ם וַיִּשָּׁבְע֣וּ לָהֶ֔ם נְשִׂיאֵ֖י הָעֵדָֽה׃

And Joshua made peace with them, and made a covenant with them, to let them live; and the princes of the congregation swore unto them.

Read midrashic interpretation of Joshua 9:15: and classical rabbinic exegesis.