This is a small price to pay for being fully alive. What a waste it is to just survive a life. Be willing to suffer the pain of loneliness. If you stick with it, in time you will find someone that you can always depend upon and give you great company - yourself. You will learn that loneliness is a part of life.
Every person feels it.
Being alone and loneliness is not a sign of incompetence or inadequacy. It can, however, be a sign of self-responsibility and creativity. Learn to spend quality time alone. For example, take long walks where you can think through things, sit quietly and reflect on your life, or do some mindless task like weeding the garden while you reflect. This is quality alone time and will support you on your journey through life.