Threatened Miscarriage

I was diagnosed with threatened miscarriage at ER after some bleeding with clots and cramping. They confirmed pregnancy levels at 2000. Dr did exam and said cervix was closed. Is it a good thing it was closed? I’m so scared of losing the baby.