"Harry -- you're a great wizard, you know."
"I'm not as good as you," said Harry, very embarrassed, as she let go of him.
"Me!" said Hermione. "Books! And cleverness! There are more important things -- friendship and bravery and -- oh Harry -- be careful!"

Harry Potter and the Philosopher's Stone - Chapter 16 : Through the Trapdoor
See this quote in the Pensive -