What follows is a thought exercise. Consider the premise that there is a god (for sake of convenience, we will identify the god as male) and that he is omniscient. This means that he knows what has happened, what is happening, and what will happen in the future. This implies a deterministic universe: if this god knows what will happen, then the timeline has already been set; if there exists free will, then he, at best, knows what might happen, and thus is not omniscient.
Now, take this deterministic universe: this means that, from the moment of the inception of time (which may precede, but, at the very least, shares a beginning with our universe), all events that were to occur in our universe were preset. Many take this argument, in against, for example, Abrahamic religions to mean that the Abrahamic god knew that Adam and Eve would eat from the tree of knowledge, would be expelled from the garden of Eden, and so forth and so on. They make this as an argument that the Abrahamic god is not, after all, a good god, for what kind of a god creates creatures with the full knowledge of their Hell-bound end?
Consider again, though, the deterministic fate of our universe. Can't this mean that the Abrahamic god has no control over his actions? Perhaps he was created with our universe, bound by the same pre-determined flow of events through time. This would mean that, though he had full knowledge of the consequences of doing such, he was obligated to create the universe, Adam, and Eve, not out of any desire to be loved or worshiped or any kind of sadistic nature, but because the very nature of our universe required him to do so. Imagine what that might be like - being a god, knowing the consequences of your actions, granted - by your very nature - power over everything in the universe except fate, including your own, required to send people to Hell regardless of how you might feel about it (and with the full knowledge of you will feel about it).
Man, that would probably suck and drive you insane. Unless, of course, you were never pre-destined to go insane. Which you would know.