Is there another way to take this?

My friend who's a few months older then me recently found out she is pregnant. Me being me I'm kinda jealous but I'm also very happy for her. The jealous part comes from a time where I was having sex way before her and she said she wasn't ever going to lose her virginity and saying she wasn't going to have kids and a boyfriend. Well she has all of those things and I'm stuck with forever being single, having had one miscarriage, and I'm not happy with myself at all😓