This cannot be repeated enough.
The extra money you spend on a TB4 cable is still far less than what you’ll otherwise lay out for all the antidepressants you’ll be needing.
I experienced recently a very nice demonstration of this great advice. At work I received a fancy hi-res Dell 27" display (U2720Q). It comes among others with a USB-C port and advertises that connected through USB-C to a computer, it will use DP alt mode (at 60 Hz) and charge the computer as well as connect all downstream devices attached through its A-type USB 3.2 ports. Sounds great. But reality was it didn’t work that way (screen remained at measly 30 Hz) with the included USB-C cable no matter what Mac it was hooked up to or what macOS or what settings you choose on the screen. And it wasn’t just a case of crappy included cable. It didn’t work either using various high-quality USB-C cables from various reputable manufacturers all rated for Gen 2, PD as well as DP alt mode. What ultimately did work, was to connect the monitor through a more expensive Apple TB3 cable. Note though, this display knows nothing about TB. It’s pure USB-C. And yet, in order to get it t work as advertised (at least on a Mac, never bothered to try on a Linux PC), what you really need is a TB cable. Gory details can be found in this thread.