They last as long as they do until they don’t.
I still use iPhone 8 and I think people are on the 15th. It works so I don’t think a need to change.
If yours isn’t charging well though it might be a sign that it’s going bad. I think it’s a sign thst it’s going downhill