Trigger warning- seeing heartbeat and then miscarriage?

Has anyone had experience of seeing the heartbeat at around 7 weeks and then it still ending in a miscarriage? Had two losses this year but not seen a heartbeat with those so I'm on edge even though we have see a heartbeat 🤦‍♀️