To punish or criticize.
To berate someone at length, usually from a position of authority or moral authority.