When you read this song the impression is that God

– forgets his own

– hides his face

– leaves his own to their own counsel and sorrow

– allows his own to be humiliated 
That is so until you get past the song’s plea for an answer and vindication (vs. 3 and 4). This also looks like a protest.  Surely, David had loads of trouble but he seems to turn like a magnet to the pole.  
 “Let me sing”, he sings.  Despite what I just said about Israel’s God I need to confess God’s interaction with me.  Abundance covers my life: good and bad. so let me sing.
Psalms 13:6

I will sing to the Lord, because he has dealt bountifully with me.