That's why you should get a Treedix USB cable tester:

https://shkspr.mobi/blog/2025/06/gadget-review-treedix-usb-cable-tester/