No, despite what you might see in the movies, there’s no evidence that Israelites worked on the ancient pyramids in Egypt.
Archaeologists excavating the temporary villages and grave sites around the base of the pyramids have come to the conclusion that they were probably built by Egyptians as public works projects.
They estimate that about 5,000 people lived and worked there at any one time, and that each pyramid took 20 to 40 years to build.
The Egyptians apparently worked in crews, perhaps centered around the villages they came from. There’s evidence that they may have engaged in friendly competitions with other crews.
On protected surfaces of blocks and hallways, archaeologists have found graffiti tagged with work-gang names like “Khufu’s friends” and “the Drunks of Menkaura.”