When Adam and Eve were created, they were perfect. God placed them in a perfect place where all their needs were met. They had one limitation- the tree in the center of the garden (the tree of the knowledge of good and bad).
Everybody knows the story: Satan used a snake to entice Eve into eating from the tree, she then gave some to her husband to eat; they realized they were naked and God knew what they had done so he kicked them out of the garden. They no longer had the option of living forever and they passed sin and death on to their children etc.

What a lot of people don't realize is why that was so important.
God took care of them when they were in that garden. He provided everything they needed. When they turned around and ate from the tree, they said, in a sense: "We don't need you to boss us around anymore. We'll decide for ourselves what's good and bad."

God has myriads of angels and undoubtedly, they were very curious about how God would handle things. By tempting Eve, Satan called into question God's right to rule (or govern) mankind.
Who's right? Satan or God?

We have free will. We show by our actions who we follow.
No one is perfect and God doesn't expect perfection.
But through studying the Bible and applying what we learn, we follow the example of Christ as perfectly as we can (we don't maliciously do things we KNOW God disapproves of).

God's system wasn't flawed. It angers some people when they think all this hell on earth is taking place just so God can prove his point (we cannot successfully govern ourselves perfectly without God), but it takes humility and study to see the wisdom in God's actions.
This life is bigger than us............