No vote is ever wasted if it reflects your principles. If it sacrifices your principles on the altar of survival and victory, then and only then is it wasted.
if it’s used on a candidate that has no chance but to spoil the general election in favor of a dictator, then I guess it’s not wasted.. the goal is achieved.