No, Piriripi. Moses did not write those books, but you are now correct in that God did not write them either. They are of human origin. Moses dies before the end of Exodus, and he certainly wrote nothing after he died.
Genesis has at least four redactors of the Hebrew mythic history. The two incompatible creation myths in Genesis show that the authors were fairly including all versions and not attempting to create a single, cohesive narrative. This increases their credibility.