וַיָּקָם֩ יִשְׁמָעֵ֨אל בֶּן־נְתַנְיָ֜ה וַעֲשֶׂ֥רֶת הָאֲנָשִׁ֣ים ׀ אֲשֶׁר־הָי֣וּ אִתּ֗וֹ וַ֠יַּכּוּ אֶת־גְּדַלְיָ֨הוּ בֶן־אֲחִיקָ֧ם בֶּן־שָׁפָ֛ן בַּחֶ֖רֶב וַיָּ֣מֶת אֹת֑וֹ אֲשֶׁר־הִפְקִ֥יד מֶֽלֶךְ־בָּבֶ֖ל בָּאָֽרֶץ׃
Then arose Ishmael the son of Nethaniah, and the ten men that were with him, and smote Gedaliah the son of Ahikam the son of Shaphan with the sword, and slew him, whom the king of Babylon had made governor over the land.
Rashi
A sword, a sword Two swords: the sword of the king of Babylon first, and afterwards the sword of the children of Ammon in the hand of Ishmael the son of Nethaniah, who will slay Gedaliah and those gathered to him of the survivors of the sword, as is delineated in Jeremiah (41:1-10).
Rashi
and a third sword shall be doubled I said, “A sword, a sword”; Nebuchadnezzar’s sword to destroy Jerusalem and the sword of the children of Ammon upon Gedaliah. There is yet a third sword, doubled as much as these two, and it shall be a sword of the slain; that is the sword of the great slaughter, which causes many slain to fall.