Psalm 18:25 With the faithful you prove yourself faithful, with the blameless you prove yourself blameless,
Psalm 18:26 with the pure you prove yourself pure; but with the crooked you prove yourself shrewd.
Psalm 18:27 For you rescue an oppressed people, but you humble those with haughty eyes.
Psalm 18:28 Yahveh, you light my lamp; my God illuminates my darkness.
He illuminates my darkness
It is easy to get the wrong idea from a psalm like this. David is speaking from victory over a time of intense oppression and darkness. He is not guaranteeing that believers will never experience times like that. He is saying that times like that are when our faith and our relationship with God are the most valuable.
Because David invested himself in God in the time of light, God was there for him in the time of darkness.
Lord, give us the wisdom to invest ourselves in you and not in ourselves.