Older civilizations invented a pantheon of deities to explain the vagaries of an otherwise random and senseless world. Cycles, shapes, numbers. Mathematics.