Punishment may make us obey the orders we are given but at best it will only teach an obedience to authority not a self-control which enhances our self-respect.
Fantastic tyrant of the amorous heart. How hard thy yoke how cruel thy dart. Those escape your anger who refuse your sway and those are punished most who most obey.
You will not be punished for your anger you will be punished by your anger.