Agreed, I'm going to stay on android til Apple puts a USB-C port in the iPhone. Most of my colleagues use iPhones and they're supported way longer than our android counterparts(Samsung exclusively).
That said, was this upgrade to Android 7.1 officially supported by Samsung?
In 2015, Apple released the iPhone 6S. It has not stopped receiving day-one software updates. For anyone who still has one (two in my circle of family and friends still have their 6S) they are still working great on iOS 14.5.
Most other smartphone brands: hold my beer