Don't count your chickens before they hatch.



Meaning:
Don't rely on something that hasn't happened yet. For example, you shouldn't spend money that you haven't earned yet.