The consequence of eating the fruit in the garden of Eden was "knowledge of good and evil" not all knowledge. It is not saying that knowledge of science (for example) is inherently evil, or that all knowledge is evil or a result of sin. It is not saying God wanted to keep them stupid. What it is saying is that MORAL knowledge, trying to discern for one's self between what is right and what is wrong was not a task meant for humans. God alone was to be the arbiter of right and wrong and we were to listen to him.
We were to obey God in terms of how what we should do instead of trying to go our own way. Does that make sense to you?
I hear this misconception a lot which is why I ask.