Psalms 25:16–18

David asks God to turn to him because he is alone and afflicted

16Turn to me and show me favor, for I am alone and afflicted.

17The distresses of my heart have grown wide; from my straits bring me out.

18See my affliction and my suffering, and take away all my sins.

Study it word by word

In its context

14The intimate counsel of YHWH is for those who fear him, and his covenant, to make it known to them.

15My eyes are always toward YHWH, for he will bring out of the net my feet.

…

19See my enemies, for they are many, and with a hatred of violence they hate me.

20Keep my soul and deliver me; let me not be ashamed, for I have taken refuge in you.

Read all of Psalms 25

Its words in the original

Loneliness