God created as for several reasons. I would have to say the primary one was for company. Those of us who have been ordained unto eternal life are his brethern, our whole creation is surrounding his marriage to the church. He made man after his own image. It would be difficult to begin to tell you of the depths of the question you ask. If you truly wish to know the answer to the mystery of which you inquire, seek the lord and after you have found, ask it of him. Only then will you be able to truly comprehend.
Quotes:
1 Corinthians 2:9
But as it is written, Eye hath not seen, nor ear heard, neither have entered into the heart of man, the things which God hath prepared for them that love him. 10But God hath revealed them unto us by his Spirit: for the Spirit searcheth all things, yea, the deep things of God. 11For what man knoweth the things of a man, save the spirit of man which is in him? even so the things of God knoweth no man, but the Spirit of God. 12Now we have received, not the spirit of the world, but the spirit which is of God; that we might know the things that are freely given to us of God. 13Which things also we speak, not in the words which man’s wisdom teacheth, but which the Holy Ghost teacheth; comparing spiritual things with spiritual. 14But the natural man receiveth not the things of the Spirit of God: for they are foolishness unto him: neither can he know them, because they are spiritually discerned. 15But he that is spiritual judgeth all things, yet he himself is judged of no man. 16For who hath known the mind of the Lord, that he may instruct him? But we have the mind of Christ.
Ephesians 5:32
22Wives, submit yourselves unto your own husbands, as unto the Lord. 23For the husband is the head of the wife, even as Christ is the head of the church: and he is the saviour of the body. 24Therefore as the church is subject unto Christ, so let the wives be to their own husbands in every thing. 25Husbands, love your wives, even as Christ also loved the church, and gave himself for it; 26That he might sanctify and cleanse it with the washing of water by the word, 27That he might present it to himself a glorious church, not having spot, or wrinkle, or any such thing; but that it should be holy and without blemish. 28So ought men to love their wives as their own bodies. He that loveth his wife loveth himself. 29For no man ever yet hated his own flesh; but nourisheth and cherisheth it, even as the Lord the church: 30For we are members of his body, of his flesh, and of his bones. 31For this cause shall a man leave his father and mother, and shall be joined unto his wife, and they two shall be one flesh. 32This is a great mystery: but I speak concerning Christ and the church.
John 17:24
24Father, I will that they also, whom thou hast given me, be with me where I am; that they may behold my glory, which thou hast given me: for thou lovedst me before the foundation of the world.
Ephesians 1:3
3Blessed be the God and Father of our Lord Jesus Christ, who hath blessed us with all spiritual blessings in heavenly places in Christ: 4According as he hath chosen us in him before the foundation of the world, that we should be holy and without blame before him in love: 5Having predestinated us unto the adoption of children by Jesus Christ to himself, according to the good pleasure of his will, 6To the praise of the glory of his grace, wherein he hath made us accepted in the beloved.
John 10:34
Jesus answered them, Is it not written in your law, I said, Ye are gods? 35If he called them gods, unto whom the word of God came, and the scripture cannot be broken;
Acts 17:28
28For in him we live, and move, and have our being; as certain also of your own poets have said, For we are also his offspring. 29Forasmuch then as we are the offspring of God, we ought not to think that the Godhead is like unto gold, or silver, or stone, graven by art and man’s device. 30And the times of this ignorance God winked at; but now commandeth all men every where to repent: 31Because he hath appointed a day, in the which he will judge the world in righteousness by that man whom he hath ordained; whereof he hath given assurance unto all men, in that he hath raised him from the dead.
Revelations 22:16
16I Jesus have sent mine angel to testify unto you these things in the churches. I am the root and the offspring of David, and the bright and morning star.
The King James Version