I read once that an interviewer noted Edison's refusal to give up despite his many early failures. Edison replied that he hadn't failed he had just learned 99 ways not to make a lightbulb.