27. Rabbi Aba said: It has been explained that even a sword of peace SHALL NOT "GO THROUGH YOUR LAND," as in the case of Pharaoh Necho, WHO WANTED TO PASS THROUGH THE LAND OF YISRAEL, BUT THE KING JOSIAH DID NOT PERMIT IT. THE MEANING of, "neither shall the sword go through your land," alludes to her companions, WHO COME FROM THE SIDE OF THE SAID KLIPAH. "I will remove evil beasts out of the land," means that THE KLIPAH ITSELF shall not have dominion over the land, nor shall it even go through - not the sword of the other nations, and not even one armed person shall pass you.
27. ר' אַבָּא אָמַר, הָא אוּקְמוּהָ דַּאֲפִילּוּ חֶרֶב שֶׁל שָׁלוֹם, כְּגוֹן פַּרְעֹה נְכֹה. אֲבָל וְחֶרֶב לֹא תַעֲבוֹר, דָּא סִיעָתָא דִּילָהּ. וְהִשְׁבַּתִּי חַיָּה רָעָה, דְּלָא תִּשְׁלוֹט בְּאַרְעָא, וַאֲפִילּוּ הַעֲבָרָה בְּעָלְמָא לֹא תַעֲבוֹר עָלַיְיכוּ, וַאֲפִילּוּ חֶרֶב דִּשְׁאָר עַמִּין, וַאֲפִילּוּ ב"נ מִזְיָינָא, לָא יַעֲבוֹר עָלַיְיכוּ.
28. This is what king Josiah asked for WHEN HE DID NOT ALLOW THE SOLDIERS OF PHARAOH NECHO TO GO THROUGH THE LAND. It has been explained that he was caught in the sins of Yisrael AND WAS THEREFORE KILLED, as it is written, "The breath of our nostrils, the anointed of Hashem, was taken in their pits" (Eichah 4:20). We must examine this, for we learned that if the leader of the people is good, the whole world is saved due to his merit. If the leader of the people is not honest, the whole people are caught for his sin. Yet why was Josiah, who was a worthy leader of honest deeds, caught in Yisrael's sins?
28. וְדָא דָּרִישׁ יֹאשִׁיָּהוּ מַלְכָּא, וְאוֹקְמוּהָ דְּהוּא אַתְפַּס בְּחוֹבַיְיהוּ דְּיִשְׂרָאֵל. כְּמָה דִּכְתִּיב, רוּחַ אַפֵּינוּ מְשִׁיחַ יְיָ' נִלְכַּד בִּשְׁחִיתוֹתָם וְגוֹ.' הָכָא אִית לְאִסְתַּכְּלָא, דְּהָא תָּנֵינָן אִי רֵישָׁא דְּעַמָּא הוּא טַב, כָּל עַמָּא מִשְׁתֶּזְבָן בְּגִינֵיהּ. וְאִי רֵישָׁא דְּעַמָּא לָא אִתְכֵּשָׁר, כָּל עַמָּא אִתָּפְסָן בְּחוֹבֵיהּ. וְהָא יֹאשִׁיָּהוּ רֵישָׁא דְּכַשְׁרָא הֲוָה, וְעוֹבָדוֹי מִתְכַּשְּׁרָן. אֲמַאי אִתְפַּס בְּחוֹבֵיהוֹן דְּיִשְׂרָאֵל.