How is voting for the greater of two evils righteous?
Your perspective of pragmatism and the greater evil may be different than the next man’s. Also, that designation is fluid and changes over time.
A Vote for Trump was perceived by many in the US muslim community as the most righteous stance because Israel’s slaughter of Palestinians over 13 months was viewed as a greater evil than the threat of a Trump regime in the future - the lesser evil.
Fast forward 3 months….Trump is shytting on civil liberties, rolling back critical government programs and oversight, and making a mockery of people who just died in a plane crash. I’m sure their view of the greater evil has changed.