I've said it before and I'll say it again...
I did the math and it's actually cheaper to own an iPhone long-term than it is to own a mid or high-end Android phone based on depreciation, software support and security updates.
Example: I lost over $300 on my Galaxy S21 which I sold about a month ago. I only had it for 6 months. That's $50/mo to use a smartphone! Even if I were to have kept it until loss of support (4 years), it'd be upwards of $13 a month to own. Whereas I had my iPhone 6s from October 2015 to October 2020 (that's 5 years). $749 - $220 sold = $529 over 60 months, just $8.82/mo! And if you bought even the highest end 5s and you're holding on to it (as its supported with security updates) and you'd sell it right now... $849 (64GB 5s) - $85 (market value) = $764 over 99 months... $7.71/mo!