In the three years my spouse has had an Apple device, I've had two first-party cables fray and wear out at the connector, the lightning port get fouled up with lint and require cleaning, and I think three third-party cables stop working at all with no obvious damage.
In the same time, I've only had two usb-c cables fail on me, both third-party.
I did have three other usb-c cables destroyed by careless children breaking the usb-a side off at the charger (all three plugged into a knee-height automotive charger in the back seat area), but that's less of a failure of the cable and more a testament to that plucky Anker auto charger that's still going fine.