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

A rejected pedestrian bridge because it fails to span an imaginary mountain gap

Examples

The new crossing will not prevent every accident, so there is no point making the current crossing safer.
A crossing that prevents some injuries can improve on the current one. The choice is whether its benefits justify the cost.
An imperfect study guide will not teach everyone everything, so we should keep offering no guide at all.