The Idiomatic

“One rotten apple shouldn't count your chickens before they are hatched.”