Democratic presidential candidate Bernie Sanders Bernie SandersKenosha will be a good bellwether in 2020 Biden's fiscal program: What is the likely market impact? McConnell accuses Democrats of sowing division by 'downplaying progress' on election security MORE said Wednesday that even if he isn't the Democratic nominee, he will do everything he can to make sure a Republican is not elected in November.

"I think Hillary Clinton Hillary Diane Rodham ClintonWhat Senate Republicans have said about election-year Supreme Court vacancies Bipartisan praise pours in after Ginsburg's death Trump carries on with rally, unaware of Ginsburg's death MORE and I agree on this, that we will do everything we can to make sure that a Republican does not win the White House, and I will knock my brains out," he told MSNBC's Chris Jansing.

ADVERTISEMENT

"I will work seven days a week to make sure that that does not happen if I am the nominee and if I am not the nominee. That's what I will do."

During the interview, Sanders said that "of course" his views align much more with Democratic front-runner Hillary Clinton than with Republican front-runner Donald Trump Donald John TrumpObama calls on Senate not to fill Ginsburg's vacancy until after election Planned Parenthood: 'The fate of our rights' depends on Ginsburg replacement Progressive group to spend M in ad campaign on Supreme Court vacancy MORE.

He said he doesn't think Trump "has any judgment whatsoever."

When asked if he believes Clinton is smart, Sanders responded: "Oh, god yes, she is very smart."

Although the Vermont senator acknowledged that he's the underdog, he said he still has a "narrow path" to victory and will fight "for every vote that we can get to make that victory happen."

During a rally Wednesday, Sanders insisted that he was in the race to win it.

"Let me make it clear so there is no confusion,” Sanders said during a rally at Purdue University in Indiana. “We are in this campaign to win and become the Democratic nominee.”