rebuke

verb

- Express sharp disapproval or criticism of (someone) because of their behavior or actions

... The boss rebuked his employee's behavior with a stern warning.
... After Jimmy embarrassed his family, they all participated in a rebuke of him so that he wouldn't repeat the same mistake.