An exasperated father castigates his sheepish son for tracking wet mud across the terrace.
castigate
verb · /ˈkæstəˌgeɪt/
To reprimand, criticize, or censure someone with intense and severe disapproval.
Do not confuse "castigate" (to harshly condemn or reprimand) with "instigate" (to incite or initiate conflict) or assume it entails physical punishment.
Latin castigare ("to punish, correct") from castus ("pure, chaste") + agere ("to drive, make") → to drive someone toward moral correction through strict rebuke.