When a bad thing happens, like cancer or death, the last thing the person going through it wants to hear is "everything happens for a reason." Maybe eventually, with time and distance, this becomes more appropriate. But not immediately.
Giving someone this card lets them know you're in their corner. You might not know what it feels like to be in their shoes, but you know when to be irritated on their behalf. And that will mean a lot.