Samuel Butler said this quote

People are lucky and unlucky not according to what they get absolutely, but according to the ratio between what they get and what they have been led to expect.