Stop in for a cup of coffee

I think the quote is something like “I didn’t fail, I just found 2000 ways not to make a light bulb...”. But I have seen it as 100, 1000, 10,000... So who knows what he actually said. Lol
Something like that