There is no loneliness if one is satisfied with oneself. How true!
Loneliness is an affliction manifested from our inability to lovingly accept ourselves and be satisfied with who we are. This means that our ability to give and receive love begins internally- with a strong and healthy self-love. Therefore, if we cannot love ourselves, we will also be unable to love others; and because of our lack of understanding of what we need in terms of love, or perhaps even from the walls we may have put up from the absence of love, others cannot love us, which leads to loneliness and dissatisfaction with ourselves and our lives.
However, you must also know that loneliness is not necessarily the result of being alone- solitude can be one of the most important, valuable, and fulfilling times of our days. And if we focus on the positive aspects of being alone- discernment and insight, growth and development, understanding and acceptance, peace and serenity, renewal and relaxation- then those moments become nourishment to our souls, and we discover that self-satisfaction is available to us even when we are alone.