Discipline does not equal punishment. It involves so much more! There is training, coaching, correction, encouragement, and at times, reprimand. When you see it done with love, it is a wonderful experience, even though in the short term, there may be discomfort.

All discipline for the moment seems not to be joyful, but sorrowful; yet to those who have been trained by it, afterwards it yields the peaceful fruit of righteousness.
HEBREWS 12:11 NASB
https://bible.com/verse-of-the-day/heb.12.11/13758