In Mere Christianity, C. S. Lewis writes:
God created things which had free will. That means creatures which can go either wrong or right. Some people think they can imagine a creature which was free but had no possibility of going wrong; I cannot. 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. A world of automata — of creatures that worked like machines — would hardly be worth creating. The happiness which God designs for His higher creatures is the happiness of being freely, voluntarily united to Him and to each other in an ecstasy of love and delight compared with which the most rapturous love between a man and a woman on this earth is mere milk and water. And for that they must be free. Of course God knew what would happen if they used their freedom the wrong way: apparently He thought it worth the risk. Perhaps we feel inclined to disagree with Him. But there is a difficulty about disagreeing with God. He is the source from which all your reasoning power comes: you could not be right and He wrong any more than a stream can rise higher than its own source. When you are arguing against Him you are arguing against the very power that makes you able to argue at all: it is like cutting off the branch you are sitting on. If God thinks this state of war in the universe a price worth paying for free will — that is, for making a live world in which creatures can do real good or harm and something of real importance can happen, instead of a toy world which only moves when He pulls the strings — then we may take it it is worth paying. When we have understood about free will, we shall see how silly it is to ask, as somebody once asked me: “Why did God make a creature of such rotten stuff that it went wrong?” The better stuff a creature is made of — the cleverer and stronger and freer it is — then the better it will be if it goes right, but also the worse it will be if it goes wrong. A cow cannot be very good or very bad; a dog can be both better and worse; a child better and worse still; an ordinary man, still more so; a man of genius, still more so; a superhuman spirit best — or worst — of all. 
The happiness which God designs for His higher creatures is the happiness of being freely, voluntarily united to Him and to each other in an ecstasy of love and delight.
God created us to be happy in him. If God forced this happiness upon us, it would cease to be happiness. Our great capacity for happiness makes us great creatures, and the greater that we are, “the worse it will be if it goes wrong.”
 Lewis, C. S. Mere Christianity (New York: Book-of-the-Month Club, Inc., 1993), 37-38.