Democratic presidential candidate Bernie SandersBernie SandersDemocrats hope to hold Big Oil 'accountable' On The Money — Will the billionaire tax survive Joe Manchin? Democrats cutting paid leave from spending deal amid Manchin opposition 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 ClintonTrump to attend World Series Game 4 in Atlanta Pavlich: Democrats' weaponization of the DOJ is back Mellman: The trout in the milk 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 TrumpOvernight Defense & National Security — Presented by Boeing — Milley warns of 'Sputnik moment' for China WSJ publishes letter from Trump continuing to allege voter fraud in PA Oath Keeper who was at Capitol on Jan. 6 runs for New Jersey State Assembly 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.”