Kenmore washer won't spin

I have a top loading Kenmore washer that has suddenly stopped spinning. It will agitate the clothes. I have checked the switch that stops the spinning when the lid is opened, but that is fine. Any ideas?:frowning:

Does it drain?

It does drain, but I just found out that it won’t spin or agitate. Makes noise when you put it in spin, like it’s trying to do something.