It isn’t either, or.
Discipline means teaching and training while they are learning.
Punishment is reserved for when they willfully disobey what they know they shouldn’t.
I could not have said it any better
I believe she’s got it!