I feel like such a faliure

Natasha
I had my heart set on breastfeeding but I had such a hard time in the beginning and my baby wasn't latching properly so I started supplementing formula because I felt like she was starving and now I'm hardly producing any milk. The doctors tell me I won't bond with her like I would if I breastfed her. I feel like I already failed as a mother :(