Joshua 10:42 Midrash

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

And all these kings and their land did Joshua take at one time, because the LORD, the God of Israel, fought for Israel.

Read midrashic interpretation of Joshua 10:42: and classical rabbinic exegesis.