The Yamaha motors are great, reliable motors, I really like them. You will probably have to deal with chains, cassettes and other parts of the bike before any motor issues.
If you are comfortable replacing a chain, adjusting brakes, replacing a cassette, etc. you should be able to keep your bike...