If Adam and Eve had formed the Four Position Foundation centering around God, they would have become substantial beings of goodness and realized the world of goodness.
However, since they formed a four position foundation centering around Satan, through their love which originally had a purpose centering on goodness, they became the substantial beings of evil, realizing a world of evil. Thus, good or evil can result from the same action because behind that action are entirely different motivations and purposes.
Therefore good and evil are not decided by the type and result of a certain action, but are decided by whether the motivation, direction and purpose of that action are directed towards the will of God or the will of Satan.