The Idiomatic
“The pen shouldn't count your chickens before they are hatched.”