Yes, most people see discipline as... spanking, but it can also mean dedication and persistence.
I see discipline as a muscle, the more you train it, the stronger it will get and the easier it will be for you in the future.
And vice versa, once you start slacking, you're often on a slippery slope effect roll.
Cheers!