What's the meaning of the idiom "do not count your chickens before they are hatched"

The idiom "do not count your chickens before they are hatched" means that one should not make plans or assume that something will happen before it is certain or has actually happened. It advises against overconfidence, premature celebration, or relying on uncertain outcomes.