Pretend that you're God (Yaweh) for a moment. It doesn't matter if you believe in him or not.
You've created the universe. The angels are in heaven with you. You decide to create man. Now think about what God does in the events that follow. What would you have done differently? Or would you have done anything different at all?
What would you have done the moment you realized Satan had turned against you? How would you test Adam and Eve, or would you have tested them at all? And if you did give them a test, how would you punish them if they disobeyed?
Would you have created only two people to populate the earth or more? Would you give man free will? How would you give them laws to live by, or would they be born with these laws already implanted into their hearts and minds? What would you do if they broke these laws?