My Pixel 3A stopped receiving security updates after less than 3 years. I remember Google did this to start using their own chips in their phones.
Two or three years is not even close to the support Apple provides. It sealed the deal for me and I switched to iPhone.
My Pixelbook from 2017 still receives regular Chrome OS updates.
You're on hacker news though, so you can install linux on it: https://wiki.postmarketos.org/wiki/Google_Pixel_3a_(google-s...
Pixel devices have historically been really good about letting you unlock the bootloader and install what you want, so even if Google drops support, the community can keep it going.
Apple devices just turn into useless bricks once apple deems them too old. Frankly, I think apple should be legally required to allow users to unlock devices, like you pay for the device, you should be able to use the hardware.
Yes, they've since more than doubled the support lifetimes to seven years.
Pixels receive at least 7 years now.
As was disclosed on Google's product support pages the day of launch.
These days, Google promises at least 7 years, which is longer than most iPhone people seem to use theirs. There's no doubt their limited support windows sucked in the past, but none of that was hidden or a surprise.
Apple could stop updating the iPhone 15 tomorrow and they wouldn't be breaking any promises to anyone. They refuse to publish even a minimum support period.