My current phone is an S21 that's facing a plethora of failures (screen damage, flaky USB-C connector, weak battery, back cover delaminating) that are all individually fixable, but altogether I also find it hard to resist the pull of getting a new phone at that stage when I add up the numbers.
But I feel increasingly really bad about not trying harder to go repair-first. Also because there's otherwise virtually no tech/feature reason to "upgrade" from something as recent as an S21 these days.