It is not incumbent upon the person who is grieving to take care of the sensitivities of the well-meaning people who don't know when to keep their mouths shut.
I'm commenting on an internet forum, devoid of any direct, personal grief being expressed, for the sake of telling people that this thing they want to say because they think it will help actually has the opposite effect.
If you actually love a grieving person AT ALL, don't say this to them. Don't.
It's up there with "All things happen for a reason," or, "God always has a plan," on the list of things that, in the abstract, sound like they should make someone feel better, but in the actual moment, make the grieving person want to strangle you and tell you to get your insensitive self the heck away from them.
If you want to make yourself feel better by spouting off some meaningless throw-pillow platitude, fine. Admit that that's what you're doing, but then question whether this is actually the right time and place and person to take care of your needs.
But if you ACTUALLY want to help the grieving person, just strike this empty garbage from your plans.