“In time, success will come. And if it doesn’t, at least you’ll have spent your time doing something intrinsically worthwhile.”
-Eric Ries
If your project/idea/business flops, was your time wasted? Did it help anybody? Did you learn something new? That seems like a pretty good measuring stick for work worth doing.