What jobs or responsibilities did pharaohs have?

they had to make sure the sun came up