The chasm between being alone and loneliness is deep. The way you begin to be alone and at peace without being lonely is to know that you are with your best friend. When you are at peace with yourself and love yourself, you can never be lonely. Only when you learn to love yourself, can you love another. You must find that love for yourself before you can touch the purity of aloneness. Love of self, without being selfish, will not allow loneliness to exist. Love of self also creates a love for everything else and brings us closer to the Sacred Oneness.
Cultivating our wisdom is one of our most important tasks. If we don't spend enough time alone listening to the counsel of our hearts, then we will never become wise. If we don't spend enough time in the presence of others who try to walk a path of heart, we will never become wise. If we do not cultivate, through prayer or meditation or spiritual practice, a stronger heart that can fly and endure, then we'll never become wise.