If you go on stage with the wrong attitude or something in your performance is off you can lose an audience in the first minute. That first minute is crucial.
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.