Children need to be trained to be passionate Torah Jews in a modern setting, not sheltered from modernity so they cannot face it.
this does not mean that we should expose our kids to everything bad and dangerous in the world- just like we wouldn’t allow them to drive without a driver’s license, or drive through a war-zone even with a license, we have to give our kids sensible boundaries as we train them for life.
Common Sense and much guidance needs to be used in order to find a balance between these two essential goals.