How little you know. Your ignorance is not just about science but also history and sociology. Until recently, children have always been breastfed, in many societies it was very common to breastfeed into for 2-3 years and it has never protected them against any of the diseases you mention.