The Maya developed math and astronomy, which they used to validate their religious beliefs.In fact, their religion was influenced based on their society, creating complex mathematical calculations, developing a writing system and even studying the stars in order to support their teachings. They assigned a Day God for each step of the week, using their understanding of astronomy, the calendar and math to comprehend their Gods.