For what purpose did God create the world?
So, the other night, I was thinking of a reason for God's supposed creation of the universe (yes, I indulge in that sort of philosophical and religious thought regularly). After reading many religious arguments against atheists, I've come to understand that the saner religious ones seem to believe that science is the 'how', and religion is the 'why'; I'm sure many on this forum will agree with this concept. But what about the biggest 'why' of all? What motivation would a supposedly omniscient being have for creating a world? Is it for some sort of emotional gratification? But why would such a divine being be in need of enjoyment? Is that not one of the 'limitations' of humanity? Do we exist in order to entertain God?
What I'm asking is for the religious folk of these forums to give me a logical explanation for God's creation of the universe, and hopefully substantiate it with some sort of logical fact.
Of course, I'm willing to accept the possibility that God's motivations simply exist far beyond the scope of human comprehension and are therefore pointless to debate. But would that not, in fact, be supporting the sentiments of atheists and agnostics that not everything must have a discernible 'why' behind it, because that 'why' can never be backed up with proof? I simply find it impossible to provide a motivation for God to create the universe without, ultimately, adhering to this line of thought- a line of thought that exists in tandem with un-religious beliefs.
Note: I am an atheist myself, but I was interested in targeting this question and see it from the perspective of those who do believe in religion.