Don’t invest in a lost cause.