the myth was the story of creation , and the ritual enactment of this battle between the gods was for the purposes of bringing heaven and earth , macrocosm and microcosm , back into proper relationship and synchronization .