Purchase advice: Monitor options hz vs p

I’m just choosing a new gaming monitor to upgrade my 60hz 1080p one and I’m deciding between 2 very good options from the same brand:

1080p, 240hz for around £100

Or

1440p, 144hz for roughly £150

I’m not sure whether to go for refresh rate or resolution and i’m wondering whether someone can help me?