You can't keep your children
from exposure to bad things.
You can give strength to resist by your own example. Please forgive my frankness. I have colleagues who were homeschooled as kids by parents who wished to keep them scientifically illiterate or from making friends outside their faith communities. They resent this bitterly. Be wise ; if the kids want public school, be there for them.