The story of Genesis is actually comprised of two versions, each emphasizing different aspects of of the Biblical set of values. If you really look into things, you can see that both stories advocate a similar set of values.