Would it be cheaper in the long run to buy a newer phone less often? Get a "this year flagship" and use it for 5 years rather than a couple year old model and use it for 2-3?
Samsung also makes the A-series Galaxies which are a pretty solid mid-tier phones that are supported for years, too.