Whirlpool washer

Washer fills with water, agitates, but doesn’t spin and drain. Also the timer dial stop ticking at this point. It does the same thing on all cycles.