A common experience for prior iPhone users was that the end of there iPhone cable would start to break and fall apart, bend the cable to much and wires would start showing.
Recently my iPhone cable had come to the end of its life span, the obvious choice would have been to buy a new cable all together, but that would have required me to spend a lot more money than it was worth so the next best option for me was to fix my own cable, I decided to take a glue gun and lay glue all over the exposed cable, surprisingly this worked and I have now kept my zombified charger alive for an extra 3 or so months and counting

It’s not my best work but it does the job well