Sen. Bernie Sanders may be the front-runner for the Democratic nomination following his New Hampshire primary victory, but his struggle to gain support from female voters may be a good sign for President Trump, according to conservative commentator Ben Shapiro.

"One of the big raps on Trump is that he’s going to do poorly with women … that suburban women are going to turn away from Trump," Shapiro said Wednesday on "The Ben Shapiro Show."

"That’s true, if he is running against a Democratic moderate who does not alienate women …" he continued, "but if you are putting suburban women in the position of having to choose between their job or their husbands' job, their income, their health plan, and Bernie’s socialism, they’re going to hold their nose, many of them, and vote for Trump."

SARAH SANDERS" I DON'T BUY POLLS THAT SHOW TRUMP LOSING TO 2020 DEMS

According to the Fox News Voter Analysis, women made up 60 percent of the Democratic primary electorate in New Hampshire. Just 26 percent of those voters went for Sanders, with 24 percent backing Buttigieg and 21 percent supporting Klobuchar.

Shapiro said that while Sanders' gap between female and male voters "mirrors the gender gap that exists for President Trump," he believes women will ultimately vote in Trump's favor to avoid Sanders' socialist policies.

Sanders recently came under fire after Sen. Elizabeth Warren, D-Mass., reported a private 2018 conversation in which Sanders allegedly told her that a woman couldn't be elected president.

CLICK HERE TO GET THE FOX NEWS APP

Sanders denied Warren's claim. His campaign also released an ad in Iowa and New Hampshire highlighting his support of women’s rights, including equal pay, paid family leave and abortion rights.