feel like a failure

I thought me and my newborn were making headway with feeding, she breastfed and then slept for 2 hours (which we’ve not done before) and then now I tried to breastfeed her and she was so fussy and kept crying so loudly and pulling off. I feel like such a failure for not being able to breastfeed right.

I don’t know what’s wrong or why she doesn’t feel satisfied from feeding by the breast. She gets into crying fits every time. I keep getting the comment “maybe she’s not getting any milk from your breasts” and I don’t know if it’s true.