Question: what to say to your best friend when they are upset?
Answer: Can I help by doing x y or z? ...  This is a temporary-yet-painful situation. ...  It IS hard to imagine a way out of this mess. ...  I'm here to listen whenever you need me. ...  I'm so glad we're friends. ...  I'm sorry you have to go through this.