Incentive, disincentive or the right thing

Incentive, disincentive or the right thing
A pet dog gets a goodie for behaving.
A kid gets a gift for scoring well in an exam or a timeout for monkeying around.
Would we not expect better from an adult? What’s the glory in working for an incentive or for the fear of a disincentive?
Why not just do the right thing?