Mayan pyramids functioned as temples, whether or not they were also tombs of high- ranking officials. Only priests were allowed to climb the stairs to the top. There they performed religious rituals including sacrifices.
One of the key principles of john locke was the idek of divine right. Divine right is the idea that God chose the people who who rule on earth and you could not rule unless god appointed you.