Humans created all the gods (there is no "the god") - as the multitude of both monotheistic and polytheistic religions, past and present, attest to.
As humans evolved large enough brains and started asking all the "why, where and how" questions, the "divine explanation" became a general explanation category to the questions, to which those early humans had now answers (akin to the children's answer of "because"). As concrete answers and explanations started coming, gods lost more and more of the explanatory usability. For example: it was not so long ago that god(s) were needed to explain lightning. Not any more.
So, humans created the gods, and humans are killing them as their usefulness deminishes.