Bailey gave Austin detention to teach him a lesson even though he was her favorite student.
I gave Austin detention today to teach him a lesson.  He's my favorite student so that was difficult to do. Did he mess up? He was acting up in class and wouldn't stop talking. That's not good.  He was disrupting the class.  He deserves detention. That's why I did that.  He needs to learn that there's a time and place for everything.  Break was over. You need to retain control of the class.