iPhone 5 was released in September 2012 and enjoyed 5 years of iOS support - that level of commitment and support is unheard of elsewhere in the mobile device market. Where the iPhone 5 saw four major iOS upgrades after its initial, out-of-the-box version (it came with iOS 6, then upgraded to iOS 7, 8, 9, and 10), most Android users (speaking from experience here) are lucky if they see just one major upgrade of Android. In fact, some of the Android devices I've had never saw one, single, major Android update. Not even on Samsung flagship devices!
Apple has the undisputably, longest lifecycle support of any device manufacturer.
And I plan on doing it again with an iPhone XR.