Friend just told me she’s pregnant...😭

I’ve now had two miscarriages in a row...one in June and one in September. My good friend just told me she’s pregnant and it was devastating. I am so happy for her, but it brings up so much sadness and pain for me that I’ve pushed away. She’s due right around when I would have been with my second miscarriage. How have you felt with similar situations? I need some advice.