Answered by Sayyidi Habib Umar bin Hafiz (may Allah protect him and benefit us by him)
How do we protect our children from bad influences in the society in which we live? We fear for their faith.
It is good to have fear for our children since corruption is everywhere, especially in societies the values of which are distant from Islamic values. This fear must not, however, lead to despair but rather should lead us to take action. Allah gave the believers a model in the life of the wife of Fir`awn. In spite of the fact that she lived with Fir`awn in his palace, she will be rewarded by being a wife of the Prophet ﷺ in the next life due to her truthfulness, patience and firmness.
This fear should lead us to create environments which protect our children and to shut the doors to corruption as far as we are able. We should arrange group activities for our children according to their age. These activities should be enjoyable and safe from any harm. We should also give them a portion of adhkar to read and give them that which illuminates their minds.
If it is possible to move to an environment which is better for our children then we can do that as long as that does not lead us to neglect any responsibility we have in the place where we are currently living. Otherwise we should remain where we are and follow the principles mentioned.
Should we send our children to a better environment?
We should send them at an age where they are mature enough to live in that environment are able to receive knowledge.