I found as a definition of Discipline:  Control of wrong inclinations.

With discipline I do not mean what others impose on us. I mean the discipline of doing things how we know they should be done. We know how we should do it, but if nobody is watching, we tend to take a short-cut. Don't we?
This creates a risk of getting problems with quality later (if it doesn't create a risk, it's not a discipline problem, but a potential better way of working). Even while we know that not keeping discipline is a risk, easy now easily prevails over problems later.

Discipline is difficult.
When in a lecture I suggested that the Bible as well as other religious books probably talk about discipline, someone in the audience immediately replied: "Yes, it's written in chapter Romans 7-19:

For the good that I would, I do not - but the evil which I would not, that I do
He didn't convert me, but this event taught me that the discipline problem in humans is known for thousands of years, and who are we to think that we can suddenly change that? We won't. We cannot fight the genes! Instead of wasting time fighting the genes, is there still something we can do to decrease the risk of lack of discipline, without asking for it?

I found four things we can do to somewhat improve on the discipline problem: