some women in the middle and upper classes worked as doctors, government officials, or priestesses. both women and men enjoyed a better quality of life the higher they were on the social pyramid. the egyptians believed that their class system created a stable, well-ordered society. each group had its own role to play.