warns that
one should not count on profits or dispose of an asset before actually obtaining it.
also
Don't spend your money before you have it. Don't count your chickens before they are hatched. Do not halloo till you are out of the wood. The opera is not over till the fat lady sings. ; it’s not over till it’s over.
He planned an expensive holiday before he had even received the job offer. “Don’t sell the bear’s skin before you’ve caught it.”