This is a totally wrong thing to say to a person who r"l lost a close relative. It does not offer him,/her any nechama and in a sense, you are blaming Hashem for the catastrophe. Rather say that HKB"H should give you the strength to carry on. Or something else more positive. Ben Samson