My iphone X from June 2019 is still going strong, though I often get messages that I'm out of icloud storage and should pay for more. So far, I haven't. The system tells me that my last successful backup was in Feb. 2022. All of my photos are backed up regularly on my Amazon account which is included in my Amazon membership. I keep a notebook of all my usernames and passwords, so that's my backup for those. I've kept each previous cellphone until it literally fell apart or some function just stopped working. I'll probably shop for a new phone at the very first sign of any trouble with this one, though.
I've just realized I need to pay for additional backup though, because I have voicemails and texts from my mother who passed away a couple of months after I bought the phone, and I don't want to lose those.