Shoftim / Judges 5:31 · Pshat
כֵּן יֹאבְדוּ כָל־אוֹיְבֶיךָ יְהוָה וְאֹהֲבָיו כְּצֵאת הַשֶּׁמֶשׁ בִּגְבֻרָתוֹ וַתִּשְׁקֹט הָאָרֶץ אַרְבָּעִים שָׁנָה׃
So let all Your enemies perish, O Eternal! But let those who love Him be as the sun when it goes forth in its might." And the land was at peace forty years.
Pshat פְּשָׁט
Like the sun at noon
Morning begins with a weak light, and by noon the sun is at full strength. The song of Devorah (Deborah) ends with this image, and then a single line tells what happened next.
Rashi: Devorah says that the consolations of Sisera's mother are empty, and so may all the enemies of the Eternal perish. Those who love Him will in the future shine like the sun, with a light seven times stronger. Metzudat David: like the sun from morning to noon, those who love the Eternal go on and grow strong. The words about forty years of rest are no longer the song but the words of the book's author.
How Rashi and Metzudat David explain it
Rashi So let them perish
Devorah said: these are empty consolations for her. So let all Your enemies perish, O Eternal, as he perished.
Rashi But those who love Him are as the going forth of the sun in its might
In the world to come, "sevenfold, like the light of the seven days" (Yeshayahu / Isaiah 30:26), that is, three hundred and forty-three times, the number of forty-nine times seven.
Rashi And the land was at rest
These are not Devorah's words but the words of the one who wrote the book.
Metzudat David But those who love Him
But those who love the Eternal will be like the sun going forth in the morning, which shines more and more until it comes into its might, that is, at noon. So those who love the Eternal will go on and grow strong until they reach the highest levels.
Metzudat David Forty years
Until the end of forty years from the start of the subjugation.
Takeaway
The consolations Rashi speaks of: Sisera's mother waited for her son at the window, and her wise ladies calmed her: he is dividing the spoil (Shoftim / Judges 5:28–30). Devorah answers: so let all the enemies of the Eternal perish.
"And the light of the moon shall be as the light of the sun, and the light of the sun shall be sevenfold, like the light of the seven days" (Yeshayahu / Isaiah 30:26). Rashi counts: seven times seven days gives forty-nine, and forty-nine times seven gives three hundred and forty-three.
Metzudat David counts the forty years of rest from the start of the subjugation by Yavin (Jabin), king of Canaan, not from the victory. The subjugation lasted twenty years (Shoftim / Judges 4:3).