Seeing a friend's baby the other day

It had been about 2 years after the miscarriage (13 weeks) that my husband and I experienced. There was alot of fighting and pain for the first six months. And then we came together in of September 2016 again after dealing with a lot of our issues. One of our friends had a baby girl a couple of days ago and we got to visit them in hospital. I held the baby and was so happy for them but felt like crying cause I never got hold my own. It wasn't until hours later where we were going to bed and I had a complete melt down because although I was happy for them it was killing me I never got to hold my own child nor did I meet them, be their mom. I feel extremely selfish in saying it. But how do you deal with hurt you don't realize is there?