Jeremiah 25:14 Midrash

כִּ֣י עָֽבְדוּ־בָ֤ם גַּם־הֵ֙מָּה֙ גּוֹיִ֣ם רַבִּ֔ים וּמְלָכִ֖ים גְּדוֹלִ֑ים וְשִׁלַּמְתִּ֥י לָהֶ֛ם כְּפָעֳלָ֖ם וּכְמַעֲשֵׂ֥ה יְדֵיהֶֽם׃ (ס)

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.

Read midrashic interpretation of Jeremiah 25:14: and classical rabbinic exegesis.