God let them do whatever they wanted, he just laid down one simple rule, just one. "You may freely eat of every tree of the garden; but of the tree of the knowledge of good and evil you shall not eat, for in the day that you eat of it you shall die."
They couldn't follow one rule. So God took them out of Paradise. How does that discourage free thinking?