The first five books were written by Moses and focus on the beginning of the nation of Israel, but the first eleven chapters records the history that all nations have in common.What were they doing before Genesis ??
Genesis contains Moses' story of the creation of this Earth.
In Heaven, God and his Angles were already in existence.
Genesis does NOT talk about the creation of God or his Angels.