I totally understand the reasons for the 10 Commandments, back in those days having such a sensible set of rules in a totally lawless age was not really about religion more about the beginnings of a workable civilization. I also understand the idea of goals in life: working hard and being "nice" to people ultimately paying off by going to heaven.

What I do not get is that God Himself must have created the devil and he must have wanted it to happen. Why would have done this? It just doesn't make any sense to me.