Was it the connector from the charger that failed or the actual port in the device?
I’ve had several Lightning charger connectors fail — the cable tends to fatigue near the base of the connector. But so far no failures of the ports on the devices themselves.
IMO the Lightning connector is superior to the old mini and micro USB-B connectors thanks to being non-directional. You don’t have to fiddle with it to get it to line up with the port. But the new USB-C connector is non-directional so that advantage goes away.
Lightning connector has slooowwwww data speeds. Should have been retired years ago. Apple is only doing this because they’ve been forced.
I have had lightning connections on the phone fail due to pocket lint build up.