Job 6:1-3 ESV
 Then Job answered and said:  "Oh that my vexation were weighed, and all my calamity laid in the balances!  For then it would be heavier than the sand of the sea; therefore my words have been rash.
Job here explains why he so rashly spoke of his desire to die in chapter 3. It is because his miseries were a burden that were “heavier than the sand of the sea”. A hyperbole, meaning that he was being totally crushed by all his burdens.
That’s why he spoke in such a way. Why couldn’t his friends understand that? Why can’t his friends understand that “the speech of a despairing man is wind”? His friends simply could not be a listening ear, patiently bearing the hurt of his friend.
All Job wanted from his friends was a little sympathy. Some kindness. But they withheld it from him (v14). Job wasn’t asking for anything super difficult or costly — just a listening ear by his side!:
Job 6:22-23 ESV
 Have I said, 'Make me a gift'? Or, 'From your wealth offer a bribe for me'?  Or, 'Deliver me from the adversary's hand'? Or, 'Redeem me from the hand of the ruthless'?
But all Job got in return was “right words” at the wrong time. A lecture in morality and theology — which was totally out of place and not what Job needed:
Job 6:25-26 ESV
 How forceful are upright words! But what does reproof from you reprove?  Do you think that you can reprove words, when the speech of a despairing man is wind?
Maybe you have someone around you who is hurting — physically, spiritually, emotionally. Take a lesson from Job. All they need from you right now is for you to be a shoulder to lean on (and to cry on). All they need you to be is a sounding board, to patiently bear all the rash and empty words of pain. I know, it’s hard. But they just need to say something to let out a bit of their pain. Mourn with them. Just be there for them. As Job said, you don’t need to do anything special. Just a little kindness extended for a hurting and confused friend. That’s all they need from you. They don’t need a scolding, a lecture in theology, or for you to remind them what they already know. That can maybe come later, after the wounds have healed.
Perhaps you have been like Job. Perhaps you have been railed on by close friends in the midst of your pain, when all you wanted was a little sympathy. If so, remember this: all human friends are fallible. And they are not God, so many times they cannot understand what is really going on in your heart, or what you really need.
But there is one Friend who knows exactly what’s going on in your heart:
What a friend we have in Jesus
All our sins and griefs to bear
And what a privilege to carry
Everything to God in prayer
Have we trials and temptations?
Is there trouble anywhere?
We should never be discouraged
Take it to the Lord in prayer
Can we find a friend so faithful
Who will all our sorrows share?
Jesus knows our every weakness
Take it to the Lord in prayer
Jesus is there. And He is there not just as God, but also as One who is fully Human, there to listen with human ears, to comfort you, and to prescribe to you the exact Word that you need to that will be a balm to your wounded soul. Jesus, the Only Infallible Friend, is there for you. He will extend His kindness to you. Not only that, He is dwells within you, from which He will never depart. He will never leave you or forsake you.
A human being often may not be able to handle all your rash and empty words from your heavy heart. People generally don’t like hearing all that negative stuff. But Jesus can handle them, no matter how rash they are — as long as you bring them to Him. He can and will absorb them all. He will not despise them. In fact, He longs to hear them. Why? Because He loves you:
Psalm 51:17 ESV
 The sacrifices of God are a broken spirit; a broken and contrite heart, O God, you will not despise.