This piece of advice is the Great Simplifier. It cuts through all the noise and uncertainty to help you make better decisions.
It applies to romantic relationships. Don't stay in the relationship that bring you low.
It applies to family dynamics. Don't emotionally invest in family members who refuse to make the same investment.
It applies to jobs when choosing your physical location. The same job in Minneapolis may pay 10x in Seattle or San Francisco.
It applies to roles/teams within companies. Don't spend your energy dragging an unwilling org forward into the future. Don't waste your time trying to convince people to change their stripes—even if it's for their own good.
Go where you're treated best.