$500+ iPhone 5 (2012) user checking in here, currently into the 5th year of updating to the latest (most patched) OS version. I wish android had something like this.
If you buy a phone that you know is already going to be obsoleted soon (it's not like Apple makes its release schedule a mystery), you should assume it will have less support than the latest model.