I had a Pixel 2 XL that was replaced this year not because it was broken, well the screen was bit that's hardly the phones fault, but because my carrier had an offer on a Pixel 7 that was too good to be true. The Pixel 2 is still working so, even if there are no more OS updates anymore.