Apple isn’t the only one that guarantees many years of updates. The fairphone (although currently only sold in the EU, they’re coming soon to the USA) has 5 years of promised support, Google Pixel 6 and later also have 5 years of promised updates, Samsung Galaxy, has 4 years, while one year less than its competitors, still much better than the 1-2 years most phones used to have. Android phones these days aren’t like the wild west back then, Android phones are on par with iPhones, the choice is merely personal preference.