Friedrich Nietzsche said this quote

We are unknown to ourselves, we men of knowledge - and with good reason. We have never sought ourselves - how could it happen that we should ever find ourselves? It has rightly been said: Where your treasure is, there will your heart be also; our treasure is where the beehives of our knowledge are.