Hashem rests His prophecy intermittently upon a prophet sent on a mission, even if he is not wise.
Sefer HaMidos, Knowledge of God, Part I §11