And ( remember ) when We did deliver you from Pharaoh 's folk who were afflicting you with dreadful torment , slaughtering your sons and sparing your women . That was a tremendous trial from your Lord .