“I don’t think he’s against the idea of cooperation,” Giuliani said. “He’s against the idea of getting people to lie.”

Guiliani also said that he was not troubled by Trump's comments.

His remarks came just a day after Trump railed against his former personal lawyer, Michael Cohen, for securing a plea deal. Cohen pleaded guilty to bank fraud, tax fraud and campaign finance law violations on Tuesday, incriminating the president in a felony.

In his plea, Cohen said he paid two women, adult-film actress Stormy Daniels and former Playboy model Karen McDougal, shortly before the 2016 presidential election at Trump's direction. The payments were intended to keep the two women quiet about their alleged affairs with Trump.

Trump, in a tweet, said Cohen got a better deal because he invoked Trump's name. The president also suggested Cohen lied to secure such a deal.

"If somebody defrauded a bank and he’s going to get 10 years in jail, or 20 years in jail, but you can say something bad about Donald Trump and you’ll go down to two years or three years, which is the deal he made, in all fairness to him most people are going to do that," Trump said on "Fox & Friends" in an interview aired on Thursday.

"It’s called flipping, and it almost ought to be illegal," he added.

Trump later said that people who flip and cooperate with an investigation are not being truthful.

"I’ve seen it many times," Trump said. "They make up things and now they go from 10 years to they’re a national hero."

Trump did not cite any examples.

Giuliani has defended Trump staunchly throughout his time working for the president, often echoing Trump's own words in his defenses. The lawyer said earlier this week that Americans would "revolt" if Congress impeached Trump.