Don't sell the bear's skin before you've killed it
This proverb is a caution against counting on things before they have come to pass. It advises you not to plan too much about what you'll do after success, but to focus more on achieving that success first.