Joshua 9:3 Midrash

וְיֹשְׁבֵ֨י גִבְע֜וֹן שָׁמְע֗וּ אֵת֩ אֲשֶׁ֨ר עָשָׂ֧ה יְהוֹשֻׁ֛עַ לִֽירִיח֖וֹ וְלָעָֽי׃

But when the inhabitants of Gibeon heard what Joshua had done unto Jericho and to Ai,

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