Barack Obama has hit out at Donald Trump's foreign policy as he took to campaigning for Joe Biden in Florida.

Taking to the stage in Florida, the former president hit out at Donald Trump for "bragging" about having Putin, President Xi and Kim Jong Un wanting him to win. 

“Our current president, he whines that ‘60 Minutes’ is too tough,” Obama said, referring to Trump’s recent interview with the CBS program. “You think he’s going to stand up to dictators? He thinks Leslie Stahl’s a bully.”

READ MORE: US Election Day 2020: When is it, how does voting work and what time will we get results?

Obama then noted that “just yesterday, he said that Putin of Russia, Xi of China and Kim Jong Un of North Korea want him to win.”

“We know!” Obama continued, to laughter from the crowd. “We know, because you’ve been giving them whatever they want for the last four years. Of course they want you to win! That’s not a good thing. … What does that say about you?”

He added: "Joe Biden wouldn't coddle dictators. He'll promote human rights around the world, including in Cuba. 

"Joe will restore our battered standing around the world because he knows our true strength comes from setting an example that the world wants to follow. 

"A nation that stands with democracy, not dictators." 

READ MORE: "I don't have to be nice anymore" Donald Trump goes on the offensive as he launches tirade against Joe Biden

Obama also pointed to Trump’s recent comments that the media is focusing too heavily on the coronavirus pandemic, quipping that the president is jealous of the coverage.