A series of failures may culminate in the best possible result.