In the campaign against Donald Trump, do the ends justify the means?

In recent months, the Biden administration has unveiled new positions and policies that clearly pander to core constituencies in the run-up to a November election in which the stakes, for both President Biden and the country as a whole, are as high as they have ever been. The problem is that some of these policies are, objectively, quite bad — even dangerous. The implicit rationale is that the ends — denying former president Donald Trump another four years in office — justify the means. To say as much is to restate the eternal dilemma of those who seek political power. How should we think about it in this case?