i Register
In some senses, punish is marked as figuratively, colloquial. Watch for register when choosing this word.
ADV
severely | justifiably, justly | unfairly
accordingly, duly
The students who cheated on the exam were accordingly punished with detention.
VERB + PUNISH
want to
try to
The teacher tried to punish the student by giving him extra homework after class.
be designed to
The new school rules were designed to punish bad behavior, not to help students learn better.
PREP
by
The teacher decided to punish the students by assigning extra homework for the week.
for
The student was punished for arriving late to class every single day.
with
The teacher decided to punish the students with extra homework for arriving late.