וְאֵת֩ כָּל־אַנְשֵׁ֨י הַחַ֜יִל שִׁבְעַ֣ת אֲלָפִ֗ים וְהֶחָרָ֤שׁ וְהַמַּסְגֵּר֙ אֶ֔לֶף הַכֹּ֕ל גִּבּוֹרִ֖ים עֹשֵׂ֣י מִלְחָמָ֑ה וַיְבִיאֵ֧ם מֶֽלֶךְ־בָּבֶ֛ל גּוֹלָ֖ה בָּבֶֽלָה׃
И все могущественные люди, даже семь тысяч, а также тысячи ремесленников и кузнецов, все они сильны и готовы к войне, даже они, царь Вавилона, привели в плен Вавилона.
Rashi
Seven thousand. But above he states, “ten thousand.”12Above, v. 14. 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.”13Yirmiyahu 52:28. The verse there states, “three thousand and twenty-three 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.
Metzudat David
Referring to the soldiers, not about the tradesmen and the gate guards.