The logical fallacy where you dismiss someone's concerns or complaints by saying "it could be worse" is called the relative privation" or "appeal to worse problems" fallacy. This fallacy occurs when someone argues that an issue is not significant or does not deserve attention because there are worse problems that exist.
Also theres another fallacy where you focus on dats that support your argument and ignore arguments that dont.
Some problems may be better in modern society but some problems may be worse.