Is it bad that I'm sad

I've been helping a friend ttc with all the things I've learned I've been trying 3 years and her a year. She just told me she is pregnant and I just had a misscarriage and I literally am now depresed and crying. When will it be my turn I know how selfish this sounds but in my ttc battle she has been pregnant twice. And i have been pregnant twice one was a tubal and second a misscarriage. And I'm just tired