means that
even an apparently certain outcome can be prevented by unforeseen difficulties before it is achieved.
When even when things seem certain, something can go wrong, so We should never be sure of something until we have achieved it completely., the saying “There is many a slip between cup and lip” is appropriate.