There was a time in King David's life when he was betrayed by a very close friend. He wrote of the pain and anguish associated with that very painful event. He basically said that if he was betrayed by an enemy he could bear it but not one who had been considered not only a close friend but a counsellor. In today’s world it would be similar to having a family member or someone you really trusted betray you.
Instead of planning revenge and becoming bitter which would be the natural reaction, David decided to reach out to his God. He knew that God was able to sustain him through that period despite his pain and grief. He could have turned to the bottle to drown his sorrows; he could’ve planned revenge; he could have even blamed God for letting it happen. Instead, through an agonising Psalm we read ' Cast your burden on Jehovah, and He will keep you; He will never allow the righteous to waver.' Psalm 55:22.
The apostle Peter wrote a similar passage in his letter recorded in the book of 1st Peter. He wrote, 'Therefore be humbled under the mighty hand of God, so that He may exalt you in due time, casting all your anxiety onto Him, for He cares for you.' 1 Peter 5:6-7
A popular belief these days of those who don't believe in God can be summarised by these words "The universe is random, meaningless, and cruel." (Unknown author). When suffering kicks in and expectations are not met many reach this conclusion. Jesus Christ Himself suffered immensely at the hands of those He came to save. He was beaten, spat upon, mocked, betrayed, and misrepresented. He was known as a Man of sorrows, a Man familiar with grief. Through Jesus Christ, God identified with man's sorrow and suffering. Those trusting Him know that suffering is only for a season and they will be helped through that time.