The discrimination was IMO, little different to a community facing a common disaster, to that of someone feeling safe, didn't care or not their problem who elected to sit back refusing to contribute to the effort to overcome the disaster, even if it was something simple and not much of a task, like keeping an eye out for an arsonist doing nature a favour and burning dead dry forest who didn't care if some had built right up in amongst it.
In regard to covid-19, complicating the simple discrimination issue were the many dogs in the fight not to vaccinate against covid-19 - those I'm aware of, most pulling the strings were part of a privileged exclusive small demographic. The noisiest were the group IMO were the "Here, all you've gotta do is take this cheap little pill and keep on working, no worries ... " Sadly many who were unable to be reassured by their doctor that their medical condition would not interact with the new vaccines, started grasping for "bad to vaccinate" straws
I feel most of the population around my way understood some people were going to be unable to be vaccinated. There were concerns that some people even if they did get vaccinated, due to medical issues would not be greatly protected. However at the end of the day, as I once read, it's good to have a practice run before the real thing.
With this pandemic, it became to hard to explain to the public being vaccinated against the fast mutating coronavirus wasn't just about saving time and money spent in hospital wards, but if most of the community that could vaccinated, it significantly removed "run time" for covid-19 to recombine whilst it was inhabiting in a human body, and re-emerge as a new threat -- it was already hard enough to ask people to vaccinate if they could to save hospitals from being run over, something I found quite frankly, shocking.