Answer:
This is from Black Cat by Edgar Allan Poe: "To those who have cherished an affection for a faithful and sagacious dog, I need hardly be at the trouble of explaining the nature or the intensity of the gratification thus derivable." Sagacious means about the same thing as "wise"... So Dumbledore and Mr. Miyagi would both definitely qualify as sagacious.