it was widely accepted that the dead age was brought on by a former civilizations failure to heed the warnings of the gods as they continued to build monstrous temples , trying to reach the heavens themselves .