I feel like a horrible friend

My best friend just found out she was pregnant with her on / off boyfriend of 6 months - my partner and I have been trying for a year and she found out yesterday that she’s 8/9 weeks pregnant. I want to be happy for her but I’m just not, I miscarried 4 months ago and she is planning everything already. She already said as I didn’t get to use the name I wanted she’s using it etc. I know this sounds jealous and stupid but it’s just not fair, her and her partner don’t have jobs, they are never happy in their relationship and it’s just working out for them. Sorry for the long post I just needed to cry and rant to people I hope would understand 😨😭