Longevity of Pixel phones

I am the type of person that only buys a new phone if my current starts to lag in every day tasks, if the battery lasts less than a day or if the software no longer receives security patches.

Having said that, software support for my 1+ Nord 2 is coming to an end and I am looking for a replacement.

My top candidates are S25 and Pixel 9.

Part of me really wants a Pixel due to the superb photos (even though comparatively I won't be able to zoom in as much as with an S25).

However, due to limited performance of the P9, I am worried it will not last too long with its current snappiness.

Could pixel owners comment on this?

Edit:

Thanks for the responses. It seems most people have had older pixels for 4+ years without issues (except some 4a). I guess I can safely assume that given a bit of luck Pixel phones should last for the software support period.