A very easy response is "I'm sorry you are feeling that way" or "I hope you are feeling better soon". It validates and also gets you off the hook for something they may take the wrong way.
Sit quietly, the answers will reveal themselves when you least expect them to. The past is gone, the present is a gift and you need to focus on today, allow the future to reveal itself when it is ready.