Apple just patched some versions of iOS that are over a decade old - so you might want to hold on to your old iPhone for a bit

Apple updates iOS 12 and 15 certificates to maintain essential services, keeping decade-old devices functional in limited roles.