Hi Philip:
This is a great point about helping students not make mistakes. Have you ever noticed that even when trying to do this, it still happens?
If we were to make a broad statement, we might say that in general, the goal of educating is to impart knowledge to the student.
Regards, Barry