• and then they break it and decide the cost of a repair isn’t worth it

    Yep, that was me with my previous phone, which I did indeed have for over 5 years.

    But there’s another major factor to it.

    I use Android phones, which get official software updates for only a couple years (3 years for the most part). This includes security updates.

    So when I got my current one it was one of only two I even considered, because only those two manufacturers promised 5 years of (security) updates at the time.

    It has gotten better though, but except for Fairphone they’re still all very hard or impossible to repair.