The actual phrase is “a few bad apples spoil the batch,” not “a few bad apples, so let’s make pie anyway, it’ll be delicious, what could possibly go wrong?”
Get rid of the bad apples.
And if you don’t get rid of the bad apples, then yes, the batch is bad. Accept that.