This (examination to know thyself) is possible only in the midst of society.
You cannot really study your mind—that is ‘to know your Self’—in isolation. Sitting in a cave, there is no one with whom you can interact—no one to get angry with, no one to be jealous of, no one to assault in anger.