Mistakes

to learn you must make mistakes; when you make a mistake you often will get in trouble.

So then why do teachers punish you when you get into trouble if you are only learning, which is exactly what they want you to do?