Infant loss

Okay everyone so I wad told by a friend that lodging a child that you've held and spent years or months with is worse then a miscarriage because you don't have memories with the miscarried baby. This really hurt my feelings being the fact that I just had a miscarriage the beginning of this month. I did have memories with this baby, me and my significant other did hold it and talk to it. I'm just sad about this whole conversation. What are yalls opinions on this?