Punishment needs to be used correctly, and with care, as an aspect of discipline. Punishment is not wrong in itself, but needs to be used to correct the child and encourage him to learn proper behavior.
Reward can also be seen as an aspect of discipline. Punish bad behavior, reward good behavior. Always with discretion.
Excellent point