Unfortunately, the US’s winner-takes-all voting system makes it so that your (entirely reasonable and otherwise simply correct) mindset leads to what’s called the Spoiler Effect, where a third party vote actually just ends up helping your least favorites. Because of this, the winner-takes-all system inevitably leads to two dominant parties, and being forced to vote for the shiniest of two turds. To fix this, we just need a different voting system. I’m partial to approval voting, but more likely that’d be ranked choice.
It’s worse than not voting. Because of the Spoiler Effect, voting 3rd party actually helps your least favorite major candidate.