You probably had to buy a new iPhone ... right? CR did two tests: The Bend Test and the Twist Test. In the first one, all the cables were bent on one end at a 90-degree angle until it surrendered ...
But for iPhone versions 5 to 14, Lightning is the port you need a cable for. If you still have a charger with a USB-A port, consider upgrading to a USB-C charger as iPhone fast-charging only works ...