Think about a massive public project that might be done today, such as building a large dam. In terms of government power and authority, how would this be similar to the building of the pyramids? How would it be different?
In some ways, building a massive public project such as this would be similar in that it would put people to work (who weren't slaves) but it would be different in that it would only serve one person, not the society.