Socrates never actually said "The only thing I know is that I know nothing" but he expressed essentially that same sentiment in so many words.