High-quality fiction can be entertaining, and educational, and inspirational, all wrapped up in one. The correct way to do this though, is through being high-quality material in general, not by throwing out entertaining (and good storytelling in general) to stand on a hate-filled soapbox.
Edit...