How do I go through this again

Kristen
I just loss my baby today😢. Me and my boyfriend were so happy and planning for the baby. Now it feels like I failed him. I mean I've had healthy baby and now I can't seem to. He has no children and has wanted babies since he was 15. How can I cope with ripping his dreams from him? I just feel really lost.