Word: didactic Definition: intended to teach, particularly in having moral instruction as an ulterior motive.
“a didactic novel that set out to expose social injustice”