Now Pharaoh had exalted himself in the land and had divided its inhabitants into sects , abasing one party of them , slaughtering their sons , and sparing their women ; for he was of the workers of corruption .