וַתַּעַבְר֣וּ אֶת־הַיַּרְדֵּן֮ וַתָּבֹ֣אוּ אֶל־יְרִיחוֹ֒ וַיִּלָּחֲמ֣וּ בָכֶ֣ם בַּעֲלֵֽי־יְ֠רִיחוֹ הָֽאֱמֹרִ֨י וְהַפְּרִזִּ֜י וְהַֽכְּנַעֲנִ֗י וְהַֽחִתִּי֙ וְהַגִּרְגָּשִׁ֔י הַֽחִוִּ֖י וְהַיְבוּסִ֑י וָאֶתֵּ֥ן אוֹתָ֖ם בְּיֶדְכֶֽם׃
Pagkatapos ay tumawid kayo sa Jordan at dumating sa Jerico; at nakipaglaban sa inyo ang mga panginoon ng Jerico, ang mga Amorrheo, ang mga Perezeo, ang mga Cananeo, ang mga Hiteo, ang mga Gergeseo, ang mga Heveo, at ang mga Jebuseo; at ibinigay Ko sila sa inyong kamay.
Rashi
The people of Yericho went to war against you. As did the Emorites, the Perezites etc.5Why were these nations involved in the battle of Yericho? All these seven nations are mentioned here because Yericho is on the border, and was the bolt and lock of Eretz Yisroel. Therefore, all these seven nations were gathered there, represented by their elite soldiers.