This is not a "do what works best for you" matter at all, it has always proved right that prevention is better than cure. We spend less when we don't have to buy a cure or do a major treatment because we're only preventing something from happening and I believe God made that possible.
Humans didn't just think up in their brains to create ways we could avoid or reduce the risk of some illnesses. The human world is already punished to have diseases and sick moments but God is kind enough to make humans provide preventables for some of them to help us better.
And now, there are people who refuse these helps because of their beliefs? I'm not sure the beliefs are of God because if they know who God is, they would appreciate opportunities to help themselves and have good health to serve God better. Yes, miracles still happens but for real!
Would you rather be walking on fire hoping God will turn it into ice for you when there are safe grounds to walk on? And the most inhumane part, you're putting every other person around you at risk simply because they don't believe in whatever you believe in. That is no good belief.

I don't know how better to sound this out but prevention is better than cure, so long the prevention is well tested for that purpose, I see no reason for anyone to refuse it especially for the reason of humanity. Even the Bible says "Obedience is better than sacrifice", that's a lot.
Well, except the belief holding them from accepting a prevention help is not towards God. And I really can't speak for why people do that, but for those who say they believe God and still endanger their lives hoping for a miracle when the time comes, then they don't truly know God.
It is an infringement of rights to make people conform to their own unreasonable beliefs, so they shouldn't be allowed to not take preventive measures especially for serious illnesses possibilities. A lot of sicknesses today are as a result of nonchalant attitudes toward our health.
I really don't know how these set of people would be made to take preventive measures when they refuse to. But I really hope something is done about it because it is putting lives in danger. I can't even imagine a child growing to suffer what they didn't know about just because letting them take a preventive help felt wrong to the parents.
Image used is AI generated.