Apple released updates for all iOS devices back to the iPhone 5s, that phone is more than 12 years old and is still getting security updates.
I’m on the iPhone X and trying to buy European for my next phone, especially with Tim Apple sucking up to Trump, but 12 years of security updates is impressive commitment.

With the departure of Alan Dye from Apple (https://daringfireball.net/2025/12/bad_dye_job ) hopefully sanity will return to their UI/UX, but it might take a few iOS versions (read: years) to break the glass.