וַיֹּ֣אמֶר שִׁמְשׁ֗וֹן תָּמ֣וֹת נַפְשִׁי֮ עִם־פְּלִשְׁתִּים֒ וַיֵּ֣ט בְּכֹ֔חַ וַיִּפֹּ֤ל הַבַּ֙יִת֙ עַל־הַסְּרָנִ֔ים וְעַל־כָּל־הָעָ֖ם אֲשֶׁר־בּ֑וֹ וַיִּהְי֤וּ הַמֵּתִים֙ אֲשֶׁ֣ר הֵמִ֣ית בְּמוֹת֔וֹ רַבִּ֕ים מֵאֲשֶׁ֥ר הֵמִ֖ית בְּחַיָּֽיו׃
E Shimshon disse: “Que minha alma morra com os pelishtim.” E ele se inclinou com toda a sua força, e a casa caiu sobre os governantes e sobre todo o povo que estava nela. E os que morreram por sua morte foram mais numerosos do que aqueles que ele matara em vida.
Ibn Ezra
רשע═עשיר Wicked.8A.V., Rich. The heathen nations that are rich in comparison with Israel are meant. I think that this verse describes the trouble of the Israelites in exile, which is so great, that they long to die with the nations; comp. Let me die with the Philistines (Jud. 16:20). As to ויתן he longed to give;9A. V., And be made. And warred.—The passage refers to Balak, King of Moab, who did not, in fact, fight with Israel, but sent for Balaam to curse them. The imperfect used in this sense is called by the grammarians imperfectum conatûs.9A. V., And be made. And warred.—The passage refers to Balak, King of Moab, who did not, in fact, fight with Israel, but sent for Balaam to curse them. The imperfect used in this sense is called by the grammarians imperfectum conatûs. comp. וילחם and he intended to fight (Jos. 24:9). That this longing for death is caused by the great pains, may be inferred from the words which follow: because he had done no violence. The heathen nations oppress Israel without cause; he neither deserves such ill-treatment, by any wrong act nor by any ambiguous, deceitful word. If the objection should be made that בׇּמוׂת does not change in the construct state into בְּמוׂת, as is the case in בְּמׂתׇיו, I answer, that this noun has two forms in the plural, like סריס officer: סׇרִיסֵי (Gen. 40:7); and סְרִיסֵי (Est. 6:14)
Or HaChaim
דן ידין עמו, "Dan will judge his people, etc.". Jacob may have wanted to exonerate Samson who had disgraced himself as a leader by consorting with Delilah. Perhaps Jacob considered Samson's end when he asked G'd to die together with the Philistines (Judges 16,30) he was about to kill as a redeeming conclusion of his life; this is why he compared him כאחד שבטי ישראל, like the unique personalities each of the tribes produced at one time or another.
Radak
יהי דן, Yaakov compared Dan to different kinds of serpents which do not travel (hunt) in packs, but rely on their wits, killing many. Shimshon, the most prominent warrior of the tribe of Dan, was a loner, never involving others when he faced danger. Compare Judges 15,8 ויך אותם שוק על ירך וכלחי חמור הכה אלף איש, “he struck them leg as well as thigh, and with the jawbone of a donkey he killed one thousand men.” He saved the Israelites from the constant incursions of the Philistines before he engaged in his acts of daring. This is what prompted Yaakov to wish him success with the words: 'לישועתך קויתי ה, “your type of salvation for Israel, orchestrated by a single individual, is something that normally, only G’d Himself can orchestrate.” Some commentators (Rashi) view these words of Yaakov as his reaction when he foresaw with prophetic vision how Shimshon had his eyes blinded by the Philistines. The words לישועתך וגו' then are Yaakov’s prayer that G’d Himself would avenge what was done to Shimshon. This prophecy/prayer was also fulfilled, as we are told in Judges 16,30 that Shimshon killed more Philistines in dying than he had killed cumulatively while alive.