You don'have to be lonely when you have Abba, Our Father, in your heart, whatever the reasons are:
"Aloneness can lead to loneliness. God's preventative for loneliness is intimacy - meaningful, open, sharing relationships with one another. With Christ, we have the capacity for the fulfilling sense of belonging which comes from intimate fellowship with God and with other believers". (Neil. T. Anderson)
If you have made mistakes, apologise, and move on. Don't carry it with you. Reach out to someone else that may be in the same situation as you, this might just make a small difference in their lives and you may just be surprised, that your loneliness may change to something meaningful.
When you reach out to someone else, your problems seems to vanish. Ask God to help you to do your best in everything you do, and not to get side tracked by negative thoughts.
Pray for someone you know who has not yet committed her/his life to Christ and her/his loneliness might just change into something uplifting.
"Everyone who calls on the name of the Lord will be saved" - read Romans 10:13
Sometimes, when we are in such a deep depression because of loneliness, nothing makes sense anymore - we refuse to speak so anyone and just wants to be left alone. - this is the time that we must put our trust in Him and thank God for loving us so much. Let God draw near to you today, surrender your heart to Him and rest in His care.
My wish for you: "May you be blessed every day with abundant peace, grace, mercy and love".
My prayer: "Dear Lord, I come to You when I am weak, leaning on You so that I can rest labors and looking to you for help".
Amen!