The best move is to compare actual power consumption (watts) between models, not just battery size in mAh or Wh, because that tells you way more than the big marketing numbers 😅
That said, there are some solid improvements in gaming laptops these days. New processors are more efficient, displays use less power (especially OLED), and manufacturers threw in bigger batteries too. But here's the weird part: games are still just as demanding, so you end up with maybe 4-5 hours at best if you're playing something modern. Not as impressive a jump as it looks on paper.
If your Dell G15 lasts 3 hours, a current model will probably give you 4 or 4.5 hours if you take care of it (low brightness, don't max out graphics). Is it worth swapping out your whole machine for that difference? Depends. If it's already feeling old for other reasons (speed, cracked screen, whatever), go for it. But if it's just about battery, maybe it's better to invest in an external replacement battery for your bag instead 🎮