People have diarrhoea a lot today, in developed countries with stable access to clean water and food. If anything, people massively underestimate the amount of diarrhoea premodern living involved.
Acquired immunity is a thing. If you always drink from the same river, you are more likely to become immune to its pathogens. That’s why travellers to places with poorer sanitation often get sick eating food that is fine for the locals.
I would suggest your personal experience is not representative of what billions of people are living e.g. in Nigeria and most of tropical Africa and India.
What a tedious over-inflation of personal significance. It's utterly depressing that literate people such as yourself could be so unimaginative as to presume the representative significance of your own experience.
Although they're less common among the insufferably narcissistic rich, diarrhoeal diseases account for 1.5 million deaths, annually ranking them as the 8th leading cause of death globally.[0]
Your personal experience must invalidate large parts of the diarrhea filled lives many others before you have lived and died. Thanks for chiming in, wise one.