I'm curious, what would you be your translation?

I can't speak for the OP, but in my research, the translation works out to be:

"Let me die with the foreigners"

I usually see "foreigners" replaced with "Philistines" (as noted above). It's Samson's line just before he braces against the pillars and brings the building down on himself and the thousands of Philistines inside, so I understand why it is usually translated that way.

Also, ψυχή here renders Hebrew nephesh, which is closer to "life" or "self", but when I think about the attributed statement it just reads better with the personal attachment (vs. "Let my self|life|soul die with..."). Which is the fun of translation, as each translator seeks to reveal a meaningful rendition which will resonate with their audience.

"let my soul die with the Philistines" is the literal translation of the Latin. I'm not an expert on Greek but I'd translate that as "let my soul die with the foreigners." ἀλλοφύλων more literally means something like "different people / people belonging to another group"

Something like "let my life perish with the Philistines". As the sibling comment notices, the original Hebrew word doesn't really mean "spirit" in the "immortal soul" meaning.

Yeah the comment is a bit of a cliffhanger. Wish they had given us their preferred translation.

That's funny, I (not the poster) didn't stop to think that other readers might not understand the Latin and Greek here!

Both of those forms are third-person and say "may my soul" ( ψυχή/anima) "die with the Philistines". (Definite article in Greek but not in Latin because Latin doesn't have them.)

The original Hebrew has

תָּמוֹת נַפְשִׁי עִם-פְּלִשְׁתִּים

which is also third person "may my soul" (נַפְשִׁי) "die with (the) Philistines".