25/05/2017 8:03 PM AEST | Updated 26/05/2017 3:42 AM AEST

Obama Throws Shade At Trump: 'We Can't Hide Behind The Wall'

JOHN MACDOUGALL via Getty Images
Former US president Barack Obama and Chancellor Angela Merkel arrive on stage during the Protestant church day (Kirchentag) event at the Brandenburg Gate (Brandenburger Tor) in Berlin on May 25, 2017. ?Barack Obama attends a panel dicussion with Angela Merkel in Berlin before heading to Baden-Baden to receive a German media prize. / AFP PHOTO / John MACDOUGALL / ALTERNATIVE CROP (Photo credit should read JOHN MACDOUGALL/AFP/Getty Images)

Former President Barack Obama subtly knocked his successor, President Donald Trump on Thursday, while explaining the importance of taking in refugees and immigrants in need.

“In the eyes of God, a child on the other side of the border is no less worthy of love and compassion than my own child,” he said in Berlin during a conversation with German Chancellor Angela Merkel

Explaining the importance of humanitarian aid, Obama said that, “we have to recognize that everything that happens on the other side of the world affects us as well.... if there’s conflict, if there’s war, if there’s poverty, we can’t isolate ourselves, we can’t hide behind the wall.”

Trump has taken on a decidedly more isolationist stance on immigration, banning Syrian refugees and visitors from other predominately Muslim countries and vowing to build a wall on the Mexican border. He also borrowed a slogan from World War II-era Nazi sympathizers as an official tagline for his presidency: America First.

Other topics that that came up at Thursday’s event were defense spending, religion, and education― all issues that Trump and Obama tend to disagree on. 

Contending that poor education policies breed inequality, Obama said that, “no county will be successful if it leaves half of its children... uneducated and on the sidelines. We have to think of them as all of our children. If Malia and Sasha are doing well but the majority of their peers are not, that’s gonna affect their lives in some damaging way.”

“The good news is that we know what to do, the bad news is that we haven’t convinced everybody of the necessity of doing it,” he added.

Obama is extremely popular in Germany, and his appearance was greeted with a massive crowd and repeated applause. Trump, on the other hand, has clashed with Merkel on many key issues and has a negative approval rating among Germans. Merkel was due to meet with Trump at a NATO summit later on Thursday.

Barack Obama and Angela Merkel BFFs

More On This Topic