Mark Twain said this quote

I was seldom able to see an opportunity until it had ceased to be one.