Feeling lonely can be difficult, especially when seeing other people have so much joy in their lives. While there is no easy solution for feelings of loneliness, we can always have solace in the fact that God is with us, especially in our moments of despair.
Here is a prayer to God, adapted from the 19th-century book The Catholic Hours, asking him to heal your lonely heart, bringing you closer to his love and recognizing his abiding presence.
O God in your great mercy, let not my soul be lost.
When I remember all you have done for me
and all you have suffered for me, my merciful Savior,
can I deny your unfailing love for me?
To you, I pray; in you, I hope.
O let me not continue in my loneliness,
but may your light shine upon my soul.
Let nothing hereafter disturb the pure gladness of my soul,
which you this day soothe with your presence.
Grant me that love and devotion,
which may calm every worldly thought and care
and may fit my heart to be the blessed abode of divine charity.
Grant me now and ever to love you with my whole heart,
with my whole soul, with all my strength, and with all my mind,
and never to forget your presence in my life.