Whiners will always whine. Complainers will always complain. People like that will always find something, no matter how inconsequential, to moan about.
Ignore the negative people. Instead of whining and complaining, focus your time and energy on living. Focus it on actually doing or creating something. That’s a far better use of your time and energy. And you’ll be a better person for it.