Is the outer coating peeling away?
Can you see exposed wires near the connector?
These are warning signs that should never be ignored.
Damaged cables can create sparks, short circuits, or excessive heat. Many people continue using them because the charger still works, but electrical problems often occur long before complete failure.
Replacing a worn cable is far cheaper than replacing a damaged phone—or repairing damage caused by an electrical accident.