Need advice

I feel so guilty that I can't breastfeed anymore. My baby is doing great on formula and we have a very strong bond but I miss those times together. I've tried and she won't latch anymore. I feel physically ill.