Spam and phishing crap can have dissimilar From header addresses and subject lines and simply be campaigns originating by the same micreant from a owned mail server, or paid account on a commercial email server acting as a conduit for the spam. The good news is that you can block that mail server's Return-Path header address and potentially handle many emails with one or just a few rules. This is what I do.
In your list of Mail received messages, select one that you want to block, then proceed to the next paragraph here.
In a new Mail Preferences > Rule panel, add a rule whose name is arbitrary. Mine is named simply No Spam. On that new rule panel will be a default From selector and action. Click on the From selector and this will present a very long menu whose last item is Edit header list… Select that last item and on the next panel add [+] Return-Path to the list of mail header fields — exactly in that case, and then click OK.
When you click that From selector again, you should see Return-Path right about here, and you should select Return-path.

Leave the Contains as is, and because you selected the spam message beforehand, the Return-path header address will automatically populate the right most text field. This will be <very long string> and using arrow and delete keys, I eliminate everything except the actual domain name in that Return-path. So, if that text string was:
<mylife@mail.mylife.com>
I trim this to:
mylife.com
For the action, I have [ Move Message ] to mailbox: [ 🗑️ Trash ]
You can add more of these Return-Path items in the same Rule, which is what I have done.
All future emails regardless of their header field From or Subject content that originate from this sender are whacked.
You can clean these up with the Mail > Mailbox > Erase Deleted Items [ In all accounts ].