Source · the work in full

Rashi on the Former Prophets

CC BY · The Metsudah Tanach series (Metsudah Publications, Lakewood, NJ)
Chapter 24

2 Kings 24

Indeed, it was by the order of Adonoy. All the calamity that befell Yehudah through these bands.

Yehoyakim lay with his forefathers. [He did] not die in his bed, for Nevuchadnetzar bound him with chains to take him to Bavel, and when they were dragging him he died in their hands, as it is stated, ”With the burial of a donkey will he be buried, dragged and thrown,” and in Divrei Hayomim it is written that Nevuchadnetzar bound him to take him to Bavel.

Left his land. To aid Yehoyakim.
For the king of Bavel had taken, etc. For he defeated him in battle in the fourth year of Yehoyakim in Charchemish on the Euphrates River, as it is written in the Book of Yirmiyohu.

Yehoyachin king of Yehudah, came out to the king of Bavel. That he do to him as he wishes, and not for war.

Craftsmen and gatekeepers. [Targum] Yonoson rendered the craftsmen and the sentries of the gates. But, our Rabbis said that these were great Torah scholars, that when one would begin [to speak], all remained silent [=חרש], as it is written, “Be silent before Me, O islands.” ”מסגר” [is one who] all sit before him and learn from him, as it is stated, ”And he will open, and no one will close, and he will close, and no one will open.”

And the dignitaries of the land. These are the dignitaries of Yehudah and Binyomin, who were righteous men. Concerning them Scripture states, ”Like these good figs, so will I recognize the exiles of Yehudah.”

Seven thousand. But above he states, “ten thousand.” The third verse comes to reconcile [the difference], in the Book of Yirmiyohu, ”This is the people whom Nevuchadnetzar exiled in the seventh year, three thousand Jews.” Jews.” We deduce from here that three thousand were of the tribe of Yehudah and seven thousand were of Binyomin and the other tribes. Also in Seder Olam we learned this.

And changed his name to Tzidkiyohu. May God justify the judgment upon you if you rebel against me.

Indeed the wrath of Adonoy was, etc. Therefore, Tzidkiyohu rebelled against the king of Bavel. The Holy One, Blessed Is He, gave him the desire to rebel against him in order that he would be exiled.

You arrive at the cited line; the whole work is yours to read around it. The text is set from the cited public-domain edition.