President Trump said in an interview Wednesday he believes Russian President Vladimir Putin would've been happier with Hillary Clinton in the White House.

"There are many things that I do that are the exact opposite of what he would want," Trump said of Putin in an interview with CBN News. "So, what I keep hearing about that he would rather had Trump, I think 'probably not,' because when I want a strong military, you know [Clinton] wouldn't have spent the money on military. When I want tremendous energy, we're opening up coal, we're opening up natural gas, we're opening up fracking, all the things that he would hate, but nobody ever mentions that."

The president said his commitment to increasing the size and power of the military puts him at odds with Putin.

"We are the most powerful country in the world and we are getting more and more powerful because I'm a big military person," Trump said. "As an example, if Hillary had won, our military would be decimated. Our energy would be much more expensive. That's what Putin doesn't like about me. And that's why I say, why would he want me? Because from day one I wanted a strong military, he doesn't want to see that."

Trump has largely remained out of the public's view since returning from Europe on Saturday as the White House has grappled with news that the president's oldest son, Donald Trump Jr., met with a Russian lawyer last year in hopes of receiving damaging information about Clinton.

An email exchange published by Trump Jr. with an intermediary who helped orchestrate the meeting showed Trump Jr. was told the information was part of the Russian government's attempts to help Trump's campaign.

The revelations came just days after Trump and Putin met for the first time at the G-20 summit last week, where Trump confronted his Russian counterpart about the Kremlin's meddling in the 2016 election.

The pair were supposed to meet for 30 minutes, but ended up talking for more than two hours.

Trump told CBN News the meeting was productive, and said he and Putin get along "very, very well."

"I think we get along very well, and I think that's a good thing, that's not a bad thing," Trump said. "People say, ‘Oh, they shouldn't get along.' Well, who are the people that are saying that? I think we get along very, very well. We are a tremendously powerful nuclear power, and so are they. It doesn't' make sense not to have some kind of a relationship."

In his interview Wednesday, the president also discussed Republicans' efforts to repeal and replace Obamacare.

The House passed a bill dismantling parts of the 2010 healthcare law in May, but Senate Republicans are struggling to find agreement on a healthcare bill.

Trump said he's waiting for the Senate to send a bill to the White House, and warned he would be "very angry" if Republicans failed in their efforts to repeal and replace Obamacare.

"I think it would be very bad," Trump said when asked what would happen if Republicans failed.

"I will be very angry about it and a lot of people will be very upset. But I'm sitting waiting for that bill to come to my desk. I hope that they do it. They've been promising it for years. They've been promising it ever since Obamacare, which is failed. It's a failed experiment. It is totally gone. It's out of business, and we have to get this done. Repeal and replace."