scold (one) for (something)
To rebuke, upbraid, or criticize one for some failure, error, mistake, or wrongdoing they have committed. The manager scolded him in front of entire team for being late again. He scolded his daughter for drawing all over the walls with her crayons. I had better go study. I don't need my parents scolding me for another low test score.
scold someone for something
to rebuke or chastise someone for doing something. The manager scolded the worker for misplacing the door key. The teacher scolded all the students for their bad behavior.