whirlpool duet doesnt spin all water out

Washer is not spinning all the water out of clothes. It used to spin very fast but now the spin speed is much slower. Is worse with towels. Keep making the loads smaller and smaller. Have checked to make sure washer is level and that doesn’t seem to be the problem. Problem has been intermittent for last couple of years. Hope you can help