There is a consensus among Egyptologists that the Great Pyramids were not built by slaves. Rather, it was peasants who built the pyramids during flooding, when they could not work in their lands.[6][7]