I’ll have to go back over the story, but I don’t think the Israelites made the pyramids, according to the bible. They are mentioned as working the fields and making straw bricks.
The skills to build thew temple in Israel (Herod's stones for example) had to come from somewhere, so no doubt their were many stone masons among them. Also farmers, and every other type of craftsmen
Plus archaeologists believe they have located GOSHEN, the area mentioned in the bible as where the early Jews lives, and it’s in the very north near the Nile Delta, not south near Giza. They also believe GOSHEN may have been an area the Egyptians set aside/reserved for any non-Egyptians. It may have been the original place Pharoah gave to Josephs family/tribe, which again could have been a metaphor for any non-Egyptian.
Apparently the Pharoahs wanted/needed the labor and skills of the non-Egyptians but was concerned about them mingling with the locals and polluting their religious beliefs.
Note - In Egypt archaeologists have found written references to non-Egyptians who were allowed to stay and work in the country and contributed to it’s economic health through their labor and crafts, and the name used was HABIRU. Pretty close to “Hebrew”.
It’s possible “habiru” was the name given to all non Egyptians (foreignor, immigrant?) ...refugees, bedouin, anyone looking for a better life or work that were allowed to settle in the Nile delta area because Egypt needed the labor, you know, to do the jobs Egyptians didn’t want to.
Kind of like how we “allow” immigrants to come in on work visas or just ignore the illegals already here.