Carrot stick ping.
I think it could well have been a scenario where religious duty factored heavily in the construction, rather than slavery.
However, leadership skills are always necessary for any major project that takes people away from their comfort zone. You can tell from the gafitti left by pyramid work gangs that there was real comraderie and competition among them.
Grafitti such as: The floggings will continue until morale improves.