I wouldn't say anything, I would just listen.
They have good reasons for feeling that way. It's hard, but try to understand their perspective. Ask questions until you feel like "if that was me, maybe I would end it too."
But then, their problems will feel lighter because they aren't alone anymore.