"He hath the wit to lose his hair."
This is probably an allusion to the consequences of syphilis. Dr. Johnson noted: ‘those who have more hair than wit are easily entrapped by loose women, and suffer the consequences of lewdness, one of which, in the first appearance of the disease in Europe, was the loss of hair.’
The Annotated Shakespeare by A.L. Rowse, 1978.