It's wrong to spite someone.
James is a school counselor, and his least favorite student just gave him a scholarship application to submit.
James wants to teach the student some humilty.
James submits the scholarship application and subjects the student to an hour-long lecture about humility.
James deliberately sends in the application late so the student doesn't get the scholarship.
The student can't leave without James' permission and is forced to silently listen to the lecture.
The principal finds out and threatens to fire James if he's similarly incompetent in the future.