Breastfeeding problems

Just curious for those of you who stopped breastfeeding when did you stop and why? My baby is 11 days old and I really thought I would be able to do it at least a few months. In fact my goal was 6 months - a year. I’m a FTM and 40 years old. Within a few days I got mastitis. Fever etc and wound up in ER. I’m still on antibiotic and my left boob is still painful and red but getting better. I’m still nursing and pumping to at least get this milk out but I don’t know if I want to continue or if I can. I get the benefits of breastfeeding and don’t want to seem like a failure and I also like that bonding time with her but it’s made me beyond stressed and what good of a mother am I to her if I can’t even enjoy her due to getting sick and be frustrated all the time with this. Bottle feeding seems so much easier but formula feeding isn’t something I ever thought I would have to do. :-( I’m still thinking what to do but right now I don’t know as my left boob is in pain. They told me to feed her every two- three ounces and pump directly after- so 8-12 times a day minimum. I’m exhausted. I wish they told you how hard it was. No one explained any of this to me when I was in the hospital with her. They just make it all seem so easy and its not.