Is it bad to unenroll my child because of covid?

My child just started pre-k, and I’m very nervous about this because of the covid variant. I’m worried about her health in general as it effects kids more as well as mine because I’m pregnant. Would it be wrong to pull her out of school because Im worried about this? Pre-k is not mandatory here btw.