Another theory is that the pyramids were built using slave labor, but there is no evidence to support this claim. In fact, there is evidence that the workers who built the pyramids were treated relatively well, and that they were given food, beer, and other provisions while they were working.
Finally, some scholars believe that the pyramids were built using a combination of corvee labor and paid labor. It is possible that the Egyptian state used corvee labor to build the main structure of the pyramids, and then used paid labor to finish them off.
Whatever the case may be, the building of the pyramids was a massive undertaking that required a great deal of manpower and resources. It is a testament to the power and organization of the Egyptian state that they were able to complete such a project.