People get really het up over all this.
In an ideal world a straightforward vaginal birth is obviously better than a caesarean, because there are benefits to baby and mother: baby is squeezed through birth canal which helps their lungs, and there is evidence that the bacteria they pick up along the way helps their microbiome develop, the mother obviously doesn’t endure major surgery, which carries risks including to future pregnancies and a scar.
BUT it’s not an ideal world and no one can ever guarantee a straightforward vaginal birth. (Fwiw I had 2. My first birth was quick, easy and lovely in a birthing pool, so it can happen.)
Similarly, everyone knows that - in an ideal world - breastfeeding is better for both baby and mother. Not just because breastmilk is different from formula (it adapts instantly to the baby’s needs, including by passing on antibodies when the baby is ill, its taste changes depending on what the mother eats, which prepares the baby for weaning, it is more or less dilute depending on how hydrated the baby needs to be), but also because the act of breastfeeding helps a baby’s physical development (of the mouth, jaw and teeth), and because - which is so often ignored - there are significant health benefits to the mother, including reduced risk of developing a number of cancers and diabetes.
BUT again, it’s not an ideal world. Bf is very hard work for the mother and doesn’t always work out, for lots of reasons, even when people really do want to do it.
A lot of these “choices” aren’t really choices at all, which is the problem.
Where you are making a choice though, it should be informed. It’s the midwife’s duty to give you all the information so that you can choose whether to take it into account, or not. That’s not to say that she didn’t behave unprofessionally in the way she delivered the info - we really don’t know - but giving you the facts isn’t objectively wrong.