Harry Potter characters do also have problems. For Hermione, it's always been a mental disorders she struggles to accept and live with. A person that has always been described as "perfect" has a weakness, and being smart won't be the factor helping her cope with It.