As I've gotten older, I've realized that most elections are like this for me. Depending on which primary ticket I take (because, if we are honest, taking the D ticket is a waste of influence in most elections where I live) I may end up choosing between two candidates I agree with on just about nothing because one is clearly better than the other at least temperamentally. Because whether I love either candidate is beside the point... I'm gonna spend the next four years living with one of them, and I want a say in which one it is.
When the Texas State Rep. who was made famous isn't year for putting together the list of books to ban decided to run for DA in my county, it was my duty to go out and vote against him in both the primary and the runoff. Not because I loved his opponents (trust me I dont), but because the alternative did something deserving of being retired (which he was).
In other countries you see this as well... in France, where many political parties do not see eye to eye with the current government, what did almost all of them do when they were eliminated and it became a choice between Macron and Le Pen? They put down their swords, sucked it up, and worked to ensure Le Pen did not win.
Somewhere along the way, and I remember this from when I first started voting, it was sold as this idealistic thing... but the reality is that it isnt. The experience of living where I live has driven that home... sometimes you have to choose options you do not like. Democracy isn't sunshine and rainbows where there's always a perfect choice on the ballot.