“One’s past is what one is. It is the only way by which people should be judged.”
Oscar Wilde wrote this in An Ideal Husband.
Where it appears
Lady Chiltern Sadly. One’s past is what one is. It is the only way by which people should be judged.
From the public-domain edition, read it free.