Giving up on breastfeeding ?

My daughter is 3 months and EBF. Since day one my milk supply had been all over the place. I pump to keep my supply up. Sometimes I have a really good supply and others I barely pump anything. My daughter currently only early 2-2.5oz every 2 1/2-3 hours. Last night she went all night without a wet diaper and was very upset. I gave in and made her a bottle of formula and she sucked it down.

I know BF is hard work and I need to work at keeping my supply up but gosh it’s so hard, most days I just want to give up and just do formula. I feel like a failure and selfish. My husband is somewhat supportive but I kinda see a look in his eyes like “are you really giving up?”.

Anyone else stop breastfeeding early on?