So much moral superiority... If you believe the reason people refuse vaccines is because they're stupid or selfish, then you're just as small minded and tribalistic as they are. More importantly, publicly airing your animosity only makes you feel better while solidifying their resistance. Good job culture warriors for making the pandemic worse.
Name calling and put downs aside, I think society needs to understand why people aren't getting vaccinated. There is not one reason. I am willing to go out on a limb and say some people are not for very stupid reasons, ergo, yes, it makes them look stupid. This has been studied to some extent. According to the online news organization vox.com, these are the top reasons:
Reason 1: Lack of access, real or perceived
Reason 2: Covid-19 isn’t seen as a threat
Reason 3: Vaccine side effects
Reason 4: Lack of trust in the vaccines
Reason 5: Lack of trust in institutions
Reason 6: A variety of conspiracy theories
If you pay attention to a variety of news organizations, you will notice that there seems to be an interest in running stories about the victims of Covid-19 that fall into some of the following categories: people that denied there is a pandemic, people that thought there were no real grave risks to contracting it, or people that had, when alive, publicly misinformed their fellow citizens with misinformation and conspiracy theories. If you can overlook the obvious moralizing and the feelings of Schadenfreude the articles might induce for a moment, is it a valid question to ask, "do making these stories public help sway people to making better decisions?" I think the answer is 'it should,' but as you pointed out, people are incredibly dug-in to their positions and things like facts, scientific analysis, and even these anecdotal stories probably is not going to sway many, which is a shame.