And [ recall ] when We saved your forefathers from the people of Pharaoh , who afflicted you with the worst torment , slaughtering your [ newborn ] sons and keeping your females alive . And in that was a great trial from your Lord .