Thomas Edison said this quote

I have not failed. I have just found 10,000 ways it will NOT work.