Because God loves us, he gives us the freedom to make choices. That's good news if we choose wisely. But it also gives us the capacity to sin.
The object of education is not to fill a man's mind with facts; it is to teach him how to use his mind in thinking.