Democratic presidential candidate Bernie SandersBernie SandersBiden defends his health plan from Trump attacks Progressives blast Biden plan to form panel on Supreme Court reform Sanders: Progressives will work to 'rally the American people' if Biden wins 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 ClintonHillary Diane Rodham ClintonFive takeaways from the final Trump-Biden debate Trump, Biden tangle over Wall Street ties, fundraising The Hill's Campaign Report: Trump, Biden face off for last time on the debate stage 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 TrumpDonald John TrumpMore than 300 military family members endorse Biden Five takeaways from the final Trump-Biden debate Biden: 'I would transition from the oil industry' 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.”