> he reasons for replacing it ranges from the OS not being updated
They just released a beta of the upgrade to Android 9 for their five-year-old phone. Yes, that's just Android 9, but still way better than other phones that old, and they had to overcome major hurdles for it [2]. But yes, iPhones are much better than Androids at longevity.