This sentence should be regarded as Einstein's famous saying. Some translations are: "A person's value should be judged by what he has contributed, not by what he has achieved." Einstein also has a similar view, which is expressed as: "A person's value to society first depends on how much his feelings, thoughts and actions have played in promoting human interests."
For reference.