Buy nice cables from a trusted brand and bin anything else. You're going to be overpaying though because there's not a lot of reason to be powering your laptop with a 480 Gbps TB 4 USB-C cable.
That’s not all you need to do though; once you have bought all Cable Matters or Anker cables, you still need to remember which one charges your iPhone quickly, and which one is thunderbolt-capable but missing the lightning bolt, which one is charging-only, etc. I have a whole mess of cables - and several of these dongles (you need a usb-a capable one, and only that other one reads thunderbolt markers, etc). I spend the time to label any cable that I buy myself, and wish the vendors would do it instead.
From reading TT, it seems there’s just no easy solution to complexity if we want interoperability.
I've done this and the answer is they all charge my phone quickly and I know the handful that are the highspeed cables either by the markings or knowing which of them are the good cables.