I guess it depends on the price. I still use the iPhone 11 Pro Max. Not that much has changed since then. The latest iOS 18 works quickly and smoothly on the device. The camera is still pretty good, but even more resolution ultimately requires more memory, which leads to higher costs.
It should be noted that Apple will end support for the iPhone 11 at some point. The iPhone 11 should probably receive updates until 2027-2029. So another 3-5 years. Source:
https://www.macworld.com/article...
However, there is no guarantee on the duration of support. With Apple, however, it is certainly much longer than with most Android devices.