Are cheap USB-C cables safe?

USB-C cables are the latest standard for connecting and charging various devices, such as smartphones, tablets, laptops, monitors, and more. They offer several advantages over the previous USB standards, such as faster data transfer, higher power delivery, and reversible orientation. However, not all USB-C cables are the same. Some USB-C cables are cheaper than others, but they may also be less safe and reliable. Are cheap USB-C cables safe to use, or should you invest in a high quality usb cable?