Not totally sure one way or another. But it is my belief that they might have been some form of slaves. And I think imo as slaves they had a limit to what they could do but were treated good, and fairly. But there religion may have been like how christianity was starting out. Because I don't feel the Egyptians would have been as tolerant in that area.. And as for the forty years in the desert. They didn't just walk around everyday, they camped. They more than likely fought. And trained in egypt's army style for combat. And upgraded some different tactics. And organized leadership.