“Hamlet I dare not confess that, lest I should compare with him in excellence; but, to know a man well, were to know himself.”
William Shakespeare wrote this in Hamlet.
Where it appears
Osric I know you are not ignorant— Hamlet I would you did, sir; yet, in faith, if you did, it would not much approve me. Well, sir? Osric You are not ignorant of what excellence Laertes is— Hamlet I dare not confess that, lest I should compare with him in excellence; but, to know a man well, were to know himself. Osric I mean, sir, for his weapon; but in the imputation laid on him by them, in his meed he’s unfellowed. Hamlet What’s his weapon? Osric Rapier and dagger. Hamlet That’s two of his weapons: but, well.
From the public-domain edition, read it free.