They didnt know about evil in the sense of pain suffering hunger after they ate the fruit God bestowed these things upon them (pain during birth farming etc.) They knew it was wrong to eat from the tree and wrent going to until the serpent or the devil poisioned there mind sinto doing so The story goes along with putting your life in Gods hands and resisting temptation