How do i attach a cable to cloth so that they move together?

I’ve also tried physical constraints but no luck