Well obviously the idea is to be happy with yourself in all sorts of situations, not just the social ones.
This may sometimes or often entail being happy with yourself not being happy.
Happy is only a fleeting sensation in any case.