I bet the Egyptian pyramid builders were more motivated by whips and chains than good healthcare ....weren’t they called “slaves” back then?
You are confounding Egypt at the time of Moses with Egypt several hundred years earlier.
This is comparable to confounding George Washington with Pepin the Great..
The Pyramids were built with BEER!
All workers got free Beer and as much as they wanted, along with Meat at every meal (most Egyptian farmers/peasants got meat once or twice a month). They did get health care and for working on the project—tax relief. BUT the most important thing they got was the promise of ETERNAL LIFE for them and their families in the life to come! The power of religious belief is mighty! I only hope they got this reward at least and got to party with the Gods in their version of heaven.