While the Pixel 6 ushered in three years of major Android OS version updates and an additional two for security patches, that’s still nowhere near the longevity of the iPhone. Google hopes to change that on the Pixel 8 and 8 Pro with noticeably more OS updates.
Depends on if they will comply with the upcoming EU battery legislation with this model or with the next one.
Funnily enough, Fairphone also just released a phone that’s promised to be supported for 8 years, and that has easily replaceable everything.