1 Chronicles 6, Psalm 38, 39, 77, 78:

Unless you have walked through a dark time in your life you might now be able to relate to Psalm 77. You might even look at it and think “how hopeless and depressing.” But if you have been through a dark path you will look at it entirely different and might even say “That is exactly how I felt.”
3 “When I remember God, I moan;
when I meditate, my spirit faints. Selah
4 You hold my eyelids open;
I am so troubled that I cannot speak.”
Or maybe this more describes how you feel,
7 “Will the Lord spurn forever,
and never again be favorable?
8 Has his steadfast love forever ceased?
Are his promises at an end for all time?
9 Has God forgotten to be gracious?
Has he in anger shut up his compassion?”
The answer the Psalmist came to was to remember what God had already done. Chapter 78 recounts all of the things God did for His people Israel as He saved them from slavery all the way through the wilderness. He was not painting with rose colored glasses. He knew there were times that God was testing the hearts of the people to see if they would remain true to Him. No matter how we feel God does care. He longs for our obedience and to know Him in a deeper way. Our “dark times” are meant to drive us to a deeper dependency on Him. Don’t harden your heart or be deceived God is still with you and He loves you even when it seems silent and dark. On those days recount His presence in your life in days past and know He is still there.