Word. Further, in the same direction: "I have not failed. I've just found 10,000 ways that won't work." (attributed to Edison) It's profoundly true of the world that nothing is wasted. Remember that no success or discovery is an accident. It is the result of time invested in the process.
On a related note, I often think about this quote from Benjamin Franklin:
"An investment in knowledge always pays the best interest."