We have well and septic. Haven’t had a cavity in years; in fact, not since I had to put up with “city” water.
I do remember reading that fluoride is a by-product of manufacturing aluminum and the gub'mint didn't know what to do with all that fluoride getting dumped into our waterways, so they came up with the idea that it was "added" to help prevent tooth decay. What a hoot!!