When you put the machine on spin only, does the drum spin?
Is the machine pumping the water out quickly enough?
If the pump is failing it won't get rid of the water quickly enough so won't spin.
Your machine should be fitted with an induction motor so won't have carbon brushes.
If it's spinning slowly, you likely have a failing motor or motor control.
If it's not turning but sitting humming, you can add a faulty capacitor to the list of possible causes.
I'm afraid you'll find most of the spares are now obsolete, however, you can get an alternative capacitor, the motor control board is available but the motor isn't.
Check how quickly it pumps out first, then, check how the motor behaves.
If it's turning slowly on everything, you're looking at the motor or motor control.
No turning and humming from the motor, it's most likely the capacitor.
Let me know what you find.
Hope this helps