There’s 3 factors you should take into account when trying to decide on resolution vs refresh rate:
Your graphics card
Your ideal monitor size
How far you sit from the monitor
If you’re going for a bigger screen (e.g 32”+) and sit close to the monitor then you’re going to want a higher resolution (1440p+). If it’s a 24” like the BenQ and it’s a couple of feet away from you, you’re probably better off prioritising refresh rate.