Francis Bacon said this quote

To conclude, therefore, let no man upon a weak conceit of sobriety or an ill-applied moderation think or maintain that a man can search too far, or be too well studied in the book of God's word, or the book of God's works, divinity or philosophy; but rather let men endeavor an endless progress or proficience in both; only let men beware that they apply both to charity, and not to swelling; to use, and not to ostentation; and again, that they do not unwisely mingle or confound these learnings together.