I trade them when the old one breaks.
Phones stopped having any meaningful reason to update since a decade.
My 2019 Xiaomi Note 8 Pro is still perfect and capable of answering posts on HN like this, going on YouTube or answering WhatsApp. Pics are also great and battery life is too.