Re: I hate to say it...
I have learned this the hard way - the total TCO of an iPhone is lower even if the initial cost is higher.
If you want new shiny quick and cheap and are landfill-friendy, buy Android. Otherwise smartphones are just seeing incremental changes and reasons to upgrade are external.
For a phone to use till it breaks, it's iPhone. The 6s from 5 years ago is still being updated and plenty snappy.
My Android flagship from the same time has had no updates for three years, sluggish with the last os upgrade, and buggy with other free ROMs.