There is no trial or problem that should separate us from God. When trials come, we are tested and, if we overcome, we are purified. They will make us either bitter or better. We should support each other during trials and not become a source of false accusations. Those near and dear to Job did not help alleviate his suffering.
Depression is difficult to handle.
Not all depression is caused by discouragement. Sometimes it is caused by chemical changes. It is an insult of the worst degree to declare one lacks faith if one must battle depression. We need to offer love and support. Knowing there are those who genuinely care , aids in the recovery.