idiom
take someone to task
誰かをその間違った行動に対して厳しく非難する
Meaning
to strongly criticize someone for something they did wrong
Example
The teacher **took him to task** for cheating on the exam.
先生は試験でカンニングしたことで彼を厳しく叱った。