Logical fallacy
Nirvana fallacy
A feasible improvement is dismissed because it fails to achieve an ideal or perfect outcome. The argument treats an imperfect reduction in harm as worthless without comparing it with the available alternatives.
Also called Perfectionist fallacy, Perfect solution fallacy, Unobtainable perfection
Examples
The new crossing will not prevent every accident, so there is no point making the current crossing safer.
An imperfect study guide will not teach everyone everything, so we should keep offering no guide at all.