I will provide one example which is actually a problem of logic.
1) And the Lord God planted a fgarden in Eden, in the east, and there he put the man whom he had formed. 9 And out of the ground the Lord God made to spring up every tree that is pleasant to the sight and good for food. gThe tree of life was in the midst of the garden, hand the tree of the knowledge of good and evil. (Gen 2:8-9)
2) The Lord God took the man kand put him in the garden of Eden to work it and keep it. 16 And the Lord God commanded the man, saying, “You may surely eat of every tree of the garden, 17 but of the tree of the knowledge of good and evil lyou shall not eat, for in the day that you eat4 of it you mshall surely die.” (Gen 2:15-17)
===> God forbids eating from the tree of knowledge of good and evil.
3) Now uthe serpent was more crafty than any other beast of the field that the Lord God had made.
He said to the woman, “Did God actually say, ‘You1 shall not eat of any tree in the garden’?” 2 And the woman said to the serpent, “We may eat of the fruit of the trees in the garden, 3 but God said, v‘You shall not eat of the fruit of the tree that is in the midst of the garden, neither shall you touch it, lest you die.’ ” 4 wBut the serpent said to the woman, “You will not surely die. 5 For God knows that when you eat of it your eyes will be opened, and you will be like God, knowing good and evil.” 6 So when the woman saw that the tree was good for food, and that it was a delight to the eyes, and that the tree was to be desired to make one wise,2 she took of its fruit xand ate, and she also gave some to her husband who was with her, yand he ate. 7 zThen the eyes of both were opened, aand they knew that they were naked. And they sewed fig leaves together and made themselves loincloths. (Gen 3:1-7)
4) He said, “Who told you that you were naked? Have you eaten of the tree of which I commanded you not to eat?” 12 The man said, d“The woman whom you gave to be with me, she gave me fruit of the tree, and I ate.” 13 Then the Lord God said to the woman, “What is this that you have done?” The woman said, e“The serpent deceived me, and I ate.” (Gen 3:11-13)
===> God is all-knowing, but he asks anyways if they ate from the tree...
5) Then the Lord God said, q“Behold, the man has become like one of us in knowing good and evil. Now, lest he reach out his hand rand take also of the tree of life and eat, and live forever—” 23 therefore the Lord God sent him out from the garden of Eden sto work the ground from which he was taken. 24 He drove out the man, and at the east of the garden of Eden he placed the tcherubim and a flaming sword that turned every way to guard the way to the tree of life (Gen 3:22-24)
Now let's make a summary about this story.
==> What is a deceiving talking serpent doing in the garden of Eden anyways?
==> Adam and Eve weren't allowed by God to know the difference between good and evil ( how could they avoid the trap of the serpent?)
==> God banishes Adam and Eve from the garden because now they have become like him knowing about good and evil.
So basically, Adam and Eve didn't know they made something evil until after they ate from the tree of knowledge of good and evil. They didn't have the notion of evil before eating from the tree.
So practically, GOD set Adam and Eve for a trap for which they didn't have any defense against. Nice...