At 10 years old I would probably go for a new one. The next failure could be a bearing or something equally fatal.
I’ve repaired a washing machine with a broken drum in the past myself, swapped out the drum assembly complete with bearing. It’s not exactly rocket science if I can manage it. It wasn’t economical to pay someone else to fix it, but it was eminently do-able and took a bit of googling, some online parts shopping and a couple of hours of my time. If you’re practical, I’d consider that as an option.
The other thing I gleaned at the time is that given that washing machines tend towards modular production, it makes more sense to buy an entry level machine from a top brand than a complicated, top-end one from a run-of-the-mill manufacturer which just has more complex electronics, but the same bearings, motor etc.
I know our capitalist system is all about buying things, but our readiness to simply throw things away depresses me and isn’t what you’d call sustainable. YMMV etc.