With 5 years of OS support and 8 years of security update.
Related threads:
Is there any market research at all indicating that customers want 6"+ displays?
Unfortunately, yes. People who buy smaller phones are the people who buy a new phone less often, and small phones tend to sell worse than the big models (see S10e, iPhone 12(?) Mini) so don’t get renewed. Would be nice if they did.