Maytag won't spin

My mayag washer wont spin. it agitates and drains properly but during the spin cycles the motor, belt and pulleys move but the tub does not. The switch turns off the motor if the lid is raised and appears to be functioning propery.
I would appreciate any advice.
PS . Maytag washer Model pav2300aww