My lesser evil voting analogy wasn’t very strongly related but here:
Suppose you and your good friend are in a class together. You study for the test and your friend does not. Your friend asks you to help cheat on the test, because if they don’t have your help they’ll fail the class. Your personal principles tell you that cheating is wrong, but you also think it’s wrong to abandon your friend in their time of need when you can help. You have 2 options: you can cheat or you can abandon your friend. Both are morally wrong, so whichever choice you make would be the lesser of two evils. The analogy (sort of) works for lesser evil voting because voting for the lesser evil candidate (helping your friend cheat) is wrong, but not voting (abandoning your friend and not cheating) is more wrong (to me).