It is such questions nobody can answer, I myself also believe in God is EVERYTHING god is "the cosmos"
But nobody can answe questions like:

Where did "god" come from?
When was he created then?
Or did he always exist?

Such questions are just gonna break your head, it is best to accept that it is here now. Yes it is interesting to know how it got here, but at the same time it doesnt really matter. Mabey we are not supposed to know.

But if I would have to give an answer on how god or the cosmos was created?

Well i said sometimes before, we are all life force. Everything is life force created/send out by the cosmos. Fire contains life force,water does, air does, plants do. All small amounts of life force. A soul is simply a big amount of life force concentrated together. We where all once a little sparkle of life force that grew by going trough stages until it oculd manifest itself as a true soul.

I think the cosmos is one HUGE life force power house. Mabey it was once a small amount of life force that drawed tiny bits of force towards it making it grow, and grow and grow until it reached a stage where it could use that enormous amount of life force to create the planet and everything on it and keep it alife. Where did the cosmos get all that power?? Mabey it got it from other planets and the sun, mabey once they were more alive aswell, mabey it drew power from them. The earth isnt very old compaired to other planets. Might also explain why other planets are such a mess compaired to the earth?? Because all the life force is cocentrated over here?

Im not sure, but it does make a little sense i gues..