Try it on slow spin and see if it still clicks like that at the start of the tub spinning.
It could be the motor, motor switch, or capacitor.
Either the centrifugal mechanism in the motor is not working or the motor switch is bad. The start winding in the motor is only meant to have power applied for the 1-2 seconds it takes to start the motor and then it is switched out of circuit by the centrifugal mechanism activating the motor switch. If it doesn't disconnect the start winding, it will burn up the capacitor and can damage the winding. You can test the switch and see if it's bad.
If the washer works ok on slow speed, then the centrifugal mechanism in the motor is working. Unplug the washer, then Check continuity between the two outermost terminals of the switch. With the switch in place, it should read as a dead short. Pulling the switch away from the motor releases the switch lever arm and now the reading should be an open circuit.