"It's as if you're better off not even trying to earn money,"
If you don't have anything good to say don't say anything at all.
If you don't have anything good to say don't say anything at all.
(paraphrasing)
I've also seen it attributed to Mark Twain as well.