If a massive loss by Democrats would cause them to reject socialism, then this is a good thing.
Unfortunately, if Democrats suffer major losses due to Sanders, they will just conceal their socialism better next time.
Haven’t you heard? Democrats are never wrong. They’ll never abandon socialism because they’re so much smarter than everyone else. It’s the voters, you see - they’re the problem. Or, maybe it’s the electoral college or maybe Russians or something.