Quality matters more than quantity. But how do we define quality? The higher the quality of work, the more ________ it embraces. Can you guess?
The higher the quality of work, the more constraints it embraces. A great software uses the right idioms, is concise, is understandable to others, is performant, yet malleable for future enhancements, and a lot more.
A bad software only addresses few constraints while disregarding the rest. It could be StackOverflow code mashed together, one that seems to work but has serious performance and maintenance issues, and a lot of accrued tech debt.
The quantity of the output does not necessarily correlate to the quality of the work, because a good or bade code can still comprise similar "number of lines of code."
To move toward quality, embrace more constraints.