This is good advice and is something I've noticed in my own life. I've stopped reaching out to people who are going nowhere. I've stopped trying to save those who don't put any effort into saving themselves. I no longer waste time worrying about the criticisms of people who aren't even where I want to be.
My life has significantly improved.