Peter Abelard said this quote

The key to wisdom is this - constant and frequent questioning, for by doubting we are led to question and by questioning we arrive at the truth.