Quick background, hooked up with this friend of mine I've known for a few years a couple times few months ago, but told her I was not looking for anything serious. I later changed my mind, but she started to softly reject my advances. I learned she started seeing someone right around that time which is totally fair. We were just FWBs and she was looking for more and I didn't want to at the time. Let me preface this with saying that yes I've been seeing other girls since.

She confided in me (she hasn't really told many people, even her close friends) that she accidently got pregnant by the new guy and miscarried. This has been emotionally devastating for her. She told the guy about it, and now he has mostly been ignoring her.

I've seen her a few times since she is a friend of mine, and she's been an emotional mess. Crying often, etc. She's clearly going through a very hard time. I'm still interested in her, but I'm pushing those feelings aside to be there for her as a friend since this is really difficult to deal with and she hasn't really told anyone else. She's upset about the miscarriage but also upset about the new guy just abandoning her completely and leaving her to deal on her own.

My question is, am I completely blowing my chances by being there for her as a friend? Should I just keep doing it anyway (yes I am seeing other girls but would like to rekindle this down the road if possible). Right now I feel like being there is more important than my own feelings but not sure the best way to handle.