How did numerology get started?

The concept of numerology is said to have originated from the civilisations in Babylonia (current day part of Iraq) and Egypt. People in those days from the ancient civilisations believed that numbers had true powers and that they had the essence of the divine which led humans to know more about life and god.