Psalms 38 and 88 were both written in times of trouble. David cried out to God asking, "Do you see what is happening to me? Do you know what is going on?" Even in the the dark time, David expresses his confidence in God, knowing that if he humbles himself and cries out to God, the Lord will deliver him.