The divine right of kings stems from religion. The king is said to have word from God, God then helps that king take power creating a monarchy. Due to people and their belief in religion, this gives the king a sort of ultimate power over the people that they obey due to the king being able to speak to their Holy God.