But in practice, the same consequences that seemed necessary to help students succeed could also make them more anxious, even angry. Researchers studying school discipline found that punishment often produced “resentment, retaliation, and/or emotions that are counterproductive to learning.”