I tried to breastfeed my first daughter for two weeks, after I was bleeding and cracked and it felt like a vice grip every time she latched on, I gave up. Everybody said she was latching on properly, but I was miserable, and I felt like she wasn't getting enough to eat, she was fussy all the time. I was miserable she was miserable, so I gave up and switched to formula. It was like the clouds parted and the sunshined through, she was a different baby, she was calm and relaxed and so was I, we were both happier.
She had a few ear infections, but other than that, has been a very healthy child, she is now 5.
My other daughter, I tried in the hospital right after she was born, but I was having the same problems, so before we even left, she was on formula. She too had some ear infections, but other than that has been very healthy, and a very happy child, she is 2.
I say, you need to do what is best for you and the baby. If you are happy, your baby is going to be happy, and that is what matters most.
I would like to add that I was never breastfed, and neither were my two brothers, and we have all been healthy people, I am 40 and my brothers are 46 and 51.