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.
Psalm 138 is a praise for God's goodness and deliverance and presents a juxaposition between the proud and the righteous. God draws near to the humble but resists the proud (vs 6)
https://raisedtowalk.org/r38
More on Reading through the Psalms
https://raisedtowalk.org/psalms
Passages from the World Messianic Bible