A fantastic episode let down by a terrible ending. There's just no reasonable way to justify Lisa's decision, and it's one of the most egregious examples of the questionable moralizing of The Simpsons' golden era.
The rest of the episode remains stellar, regardless.