Idries Shah said this quote

He who knows himself, knows his Lord' means, among other things, that self-deception prevents knowledge.