I think it is also about the use cases and apps you use. For example:
I have 1 phone older than 10y serving as a music player, almost never having Internet connection, almost always being in airplane mode. Another phone as my normal phone, also nearing 10y old, with a screen that is partially broken, but still accepts touch input fine everywhere, inherited from someone else, used usually only for Signal and Hackernews reading, rarely browsing in Firefox, nothing really feeling slow. Then I have one much newer phone, but waaay cheaper phone and it felt terribly slow right from the start, got it only to separate concerns, and as a throwaway. Not sure what its issue is really.
My point is that with reasonable apps old phones work just fine. Just don't install crap apps or facebook or something like that, stick to well working apps. Use a phone as a phone, not as your universal computing interface and you should be OK for a long time.