The most common misconception about the pyramids is that they were built by slaves. Recent archeological evidence suggests they were instead constructed by paid workers. Some may have performed this work as a form of tax payment for several months of the year. Skilled engineers would have planned and orchestrated the building. An estimated 10,000-20,000 people would have been working on a pyramid at any one point in time. They were well fed and provided with shelter near the pyramids. Plus their burial sites close by indicate they were respected and were not slaves.
Much of the limestone was quarried from the Giza plateau itself, meaning the stones did not need to be transported far. The granite casing of Menkaure's pyramid, on the other hand, was transported from Aswan, around 600 miles, or 1000 km up the Nile.