כִּ֣י עָֽבְדוּ־בָ֤ם גַּם־הֵ֙מָּה֙ גּוֹיִ֣ם רַבִּ֔ים וּמְלָכִ֖ים גְּדוֹלִ֑ים וְשִׁלַּמְתִּ֥י לָהֶ֛ם כְּפָעֳלָ֖ם וּכְמַעֲשֵׂ֥ה יְדֵיהֶֽם׃ (ס)
For many nations and great kings shall make bondmen of them also; and I will recompense them according to their deeds, and according to the work of their own hands.
Rashi on Jeremiah
For... will enslave them Like ‘For... shall enslave them,’ i.e., shall enslave the people of Babylon.