Discipline is an integration into a higher form of freedom.
Discipline is the ability to suffer voluntarily when needed.
That keeps you from involuntary suffering, and gives you liberty, because you can fully enjoy life knowing you have nothing to regret.