You only seem to get two OS generational updates with your Android device, meanwhile my 6 year old iPhone still has the latest OS
Also, because Android itself is configurable by the device manufacturer, there is no standard Android, some things are deliberately turned off in the background by the manufacturer to improve the performance of their device, which is ok unless you actually need to use that feature, when it completely sucks, impossible to tell though before you get the phone