Wires and Junction at tub

Electrical equipment shall be installed in a neat and workmanlike manner. NEC 110.12.
Electrical equipment shall be firmly secured to the surface on which it is mounted. NEC 110.13(A)
NM cable shall be supported every 4.5 feet and within 12 inches of outlet box. NEC 334.30
Not sure about a wire sharing a hole with a water pipe other than the wire must be protected from damage.