punish by

punish (someone or oneself) by (doing something)

To do something as a way of penalizing or disciplining someone or oneself. The boss has been punishing those who disagree with him by loading them with more work than they can handle. For breaking his diet over the holidays, Bob punished himself by only eating vegetables for two weeks straight.
See also: by, punish
Farlex Dictionary of Idioms.

punish someone by something

to discipline someone by doing something. The headmaster punished the children by forcing them to go to bed early. She punished herself by not eating.
See also: by, punish
McGraw-Hill Dictionary of American Idioms and Phrasal Verbs.
See also:
  • punish
  • punish (someone or oneself) by (doing something)
  • leave (someone, something, or oneself) (wide) open for (something)
  • leave oneself wide open for
  • leave open
  • leave yourself wide open to something
  • leave (someone, something, or oneself) (wide) open to (something)
  • reproach (someone or something) with (something)
  • reproach with
  • keep in sight