Not sure how these are better than buying a 2-year old iPhone (which has better support, better UX, and better resale value)
So its really all about what you are looking for in a phone. If you think Apple has better UX and you don't mind the direction their hardware is going or have any aversions to their ecosystem, then, by all means, get an iPhone.
Because a 2 year old iPhone will continue to get support for as longer than the new Pixel and doesn't have much resale value.
Don't get me wrong, I currently own a Pixel but owning one is not a value-conscious decision.