There is a difference between a consequence that teaches and a punishment that only costs — and most of us received enough of both to know the difference from the inside. The child who understands why a boundary exists internalizes something; the child who only experiences power learns to navigate power. Natural consequences, where they are safe and honest, are among the most effective teachers a parent has.
Each step builds on the last.