I'm not sure this is true. You can be happy with work that anyone skilled in the art thinks is terrible, i.e. maybe you're really proud of your $REGISTER_GLOBALS dependent, SQLi-vulnerable, spaghetti PHP app. Maybe you're really happy with your scientific paper that the peer review community has ripped to shreds as false. Or you really, really like the novel you wrote, despite well-articulated and uniformly scathing takedowns from editors, English professors, literary critics, etc.
Or, conversely, you're a perfectionist and kicking yourself over the single calculation mistake in an otherwise field-defining paper, masterful performance, etc.
When you participate in a craft, there are measures and standards of quality orthogonal to your emotions, and they matter a great deal in determining whether a work is successful.