Punishment as a teaching tool
Punishment has a very high risk of destroying not only the desire, but also the ability to learn.
Obeying, including ‘cooperating’ that is not wholeheartedly chosen with perfect freedom to choose otherwise, is violating one’s own standards.