Each society that existed at the time were based assumed past societies before them. You cannot just single out the Aztecs because they aren’t the only one.
The Aztecs became so successful because of their gods. They have created their own belief that got them through their hardships.