If a thing is free to be good it is also free to be bad. And free will is what has made evil possible. Why, then, did God give them free will? Because free will, though it makes evil possible, is also the only thing that makes possible any love or goodness or joy worth having.
C. S. Lewis (2003). “A Mind Awake: An Anthology of C. S. Lewis”, p.28, Houghton Mifflin Harcourt