Pretty standard for Android phones. I don’t know of many that go to 3 versions besides the Pixel.
As much as I dislike Apple, I do have to give it to them for software support. The oldest phone that has the current iOS is the iPhone 8, a phone from 2017. 6 years of updates. That makes it as old as a Pixel 2, and that only goes to Android 11, from 2020.