What an evil thing to say. Just nasty.
I pumped as much as I could. My baby had two and a half months of my milk. I had two other small children to care for too.
We had to travel over 100 miles regularly to GOSH for surgeries and clinic appointments. I pumped every moment I could. In those days, it was not easy to pump. GOSH were totally useless in helping (nowhere to wash or sterilise pump or store milk on ward, nowhere to pump in clinic, no privacy, nurses sneering.
I could not afford to rent an electric pump and was at risk of RSI from manual one. I had to pump day and night, in a very unsupportive home atmosphere.
Breastfeeding charities told me I should be able to manually express into my baby's mouth. I believed them and kept trying, but it wasn't possible.
Consultants at GOSH refused to make a feeding plate for baby until it was too late and my supply was dwindling.
There was no option for donor milk. All the local services closed due to HIV and never reopened.
So, I did try, but there was an absolute, unavoidable medical need for formula.
So gloat away. I had to feed my baby formula to save her life. She's an adult now.