Confucius said this quote

Real knowledge is to know the extent of one's ignorance.