pluc an hour ago
Put another OS on it and use it for many more years
(though I don't know the status of jailbreak or alternate OSes for iPhones as my last one was a 3G and Cydia was a thriving ecosystem then)