Possibly the WOAT thing to say at a wake/funeral/after a brutal assault/rape.
Some people just don't know what to say and sling the first BS that they've heard time and time again in these situations OP. Don't take it serious, that person tried to lend a shoulder, just couldn't articulate it well is my assumption.