That sentiment was quite prominent in 2000 during the Bush / Gore election. A lot of people voted for Nader hoping to legitimize a third party on the ballot. The common thinking was Gore and Bush were no different.
Given how world events unfolded, that view (in hindsight) was probably a pretty dumb one.