A. Make false assumptions about how our hurting friend feels. This seems to shift the attention to you, not them, especially if you follow with a personal story. We tell them not to be depressed, or angry, or negative. We tell them God loves them so they shouldn't feel that way. B. Make false assumptions about God's plan behind the trouble.
Misusing religion is a big mistake, but common.
You may have insight, but you don't have all the answers. D. Be blunt, uncaring, and unsympathetic. Job's biggest complaint is that they have no compassion for him. When people are sick or sorrowing, they are emotionally fragile. Remember that they need extra affirmation, even about little things.