One cliche is "don't count your chickens before they hatch".