Entertain, yes. That goes without saying. But a good writer does that automatically, it's built into the machine. Telling a thumpingly good, mesmerizing story is what one does without question. But beyond that, any writer worth his/her hire knows that all writing, one way or another, is subversive. It is guerrilla warfare against the status quo.
Harlan Ellison (2016). “Slippage”, p.128, Hachette UK