The laws governing non-Hebrew slaves were more harsh than those governing Hebrew slaves: non-Hebrew slaves could be owned permanently, and bequeathed to the owner's children, whereas Hebrew slaves were treated as servants, and were released after six years of service or the occurrence of a jubilee year. One scholar suggests that the distinction was due to the fact that non-Hebrew slaves were subject to the curse of Canaan, whereas God did not want Jews to be slaves because he freed them from Egyptian enslavement.