A man's ethical behavior should be based effectually on sympathy, education, and social ties no religious basis is necessary. Man would indeed be in a poor way if he had to be restrained by fear of punishment and hope of reward after death.
A school cannot exist as a permanent form of education. It can only exist until the student discovers that they can learn more themselves from the real world. From that moment on the majority always look for the most promising place the highest wisdom outside of school, with the result of schooling always collapsing over lifes education.