Logical fallacy
Fallacy of relative privation
The argument dismisses a problem or complaint solely because a worse problem exists. The relative severity of the other concern does not show that the original concern is insignificant or unworthy of action.
Examples
There is no reason to fix the leaking school roof because some schools have no roof at all.
No one should care about a broken crossing because other countries have worse traffic problems.