This is the . It attempts to cast anything other than a perfect solution as a poor one by virtue of requiring investment that could go towards the (hypothesised) perfect one. Following to the conclusion, any time, money, or effort invested in anything less than the ideal course of action are wasted, even though they may achieve results.
There is no logical fallacy. Relative Privation is "Trying to make a scenario appear better or worse by comparing it to the best or worst case scenario." No such comparison is made in the claim. If Relative Privation is applied as suggested any evaluation of how resources should be allocated would be a fallacy.