This is why my garden has at least a couple sacrificial dill plants. A couple fat caterpillars can wreck a dill plant, the little guys love dill but it usually grows fast enough to satiate them until metamorphosis.
I think a lot of people get really attached to the plants in their garden and have a reflex to attempt to subvert nature by sanitizing it. But there's an old rhyme that I like to remember when it comes to remembering that we are part of a working ecology, not the masters of it.
Four seeds in a row: One for the mouse, One for the crow, One to rot, And one to grow.
Basically, expect most of your plants to fail before harvest. That has been the expectation since agriculture has been a part of human existence. It's only in modern times where we actually expect to reap all of which we sow.