If you need portability take the one with a good battery because over time the battery is only going to get worse, I have a Dell G3 which I love but the battery never lasted long so it's not a good laptop for portability.
While I agree that I'd personally prioritize a large battery a lot more relative to weight and price than most manufacturers seem to, I'd also point out that one can get a USB-C powerstation to mitigate the effects of the internal battery, as long as the laptop can charge off USB-C and the powerstation can put out enough juice.. It's more-obnoxious than a built-in battery in that you're going to have to carry an extra item and start it charging the laptop when the laptop gets low, but it's an option.
OP says that portability is needed, but I don't know whether that means that they don't want a desktop, want a particularly light laptop, or don't want to carry a USB-C powerstation.