I don't know that an author has a responsibility to always use correct truth and doctrines. So often, writing and storytelling can be ways for the writer to work through their own struggles with truth. Forcing a responsibility to "correct" truth and doctrines could keep a writer from really grappling with truth for themselves.
Even when a writer grapples with a truth, the reader is able to learn from the writer. I think what is important for teen and adult readers is to learn to read with discernment, and be able to call into question the message the writer is sending.
For children's literature, however, it is much more important to present as much that is correct as possible. As a child gets older, you can start asking them "Does this make sense? do you agree? why or why not?" but a small child needs to build their foundation first.
Personally, I have learned a great deal from a few authors I whole heartedly disagree with, even more so when I could explain exactly why I didn't agree with them.