As a point of comparison, we just got rid of an iPhone X that was in use in the family for 6 years. It had battery replaced once, but admittedly due, if we kept it. We got rid of because Apple dropped support, plus there was a lot of physical damage from a teen carrying it, and repeatedly removing the case.
However discounting the physical damage, it worked reasonably well. If there were fewer drops, it would still have been a useful phone