Former President Barack Obama said that North Korea's pursuit of nuclear weapons has 'done nothing to secure the North Korean people' during a visit to Seoul on Monday.

Obama is visiting South Korea this week to meet with President Moon Jae-in and speak at a forum hosted by South Korea's Chosun Ilbo newspaper.

His trip to the country comes after a ten-day family vacation in Indonesia, during which he said that President Donald Trump had caused a 'temporary absence of American leadership' when it comes to climate change policy.

Scroll down for video

Obama is visiting South Korea this week to meet with President Moon Jae-in and speak at a forum hosted by South Korea's Chosun Ilbo newspaper

On Monday, Moon briefed Obama on his summit with Trump last week, an aide at South Korea's presidential Blue House, Yoon Young-chan, said

While at the forum on Monday, Obama said that North Korea's pursuit of nuclear weapons has 'done nothing to secure the North Korean people'

On Monday, Moon briefed Obama on his summit with Trump last week, an aide at South Korea's presidential Blue House, Yoon Young-chan, said.

'President Moon said he talked to President Trump about using sanctions and pressure to resolve the North Korean missile and nuclear problem, but also to use dialogue at the same time,' Yoon said.

'He said it is the last opportunity for North Korea to enter the door of dialogue.'

North Korea has been relentlessly developing its nuclear weapons and missiles to carry them since the beginning of last year, ignoring the threat of yet more UN sanctions and US military maneuvering.

North Korea says it aims to develop a nuclear-tipped missile capable of striking the US mainland in order to defend itself from what it sees as U.S. aggression aimed at overthrowing its government.

Trump called for a determined response to North Korea in his talks with Moon on Friday. Trump stressed the importance of the US-South Korean alliance but took aim at Seoul over trade and sharing the cost of defence.

Yoon cited Obama as saying during the meeting with Moon that US citizens and the Korean community in the United States supported the bond between South Korea and the United States.

Obama told the forum the world must send a clear message to North Korea, that security and prosperity will not come from the pursuit of weapons, according to a copy of his speech, issued by Chosun Ilbo.

Obama arrived in South Korea on Monday along with his wife, Michelle, and their two daughters

Obama shakes hands with South Korean National Assembly Speaker Chung Sye-kyun (right) during a leadership conference at a hotel in Seoul

His trip to the country comes after a ten-day family vacation in Indonesia, during which he said that President Donald Trump had caused a 'temporary absence of American leadership' when it comes to climate change policy

'The international order depends upon the enforcement of clear rules and norms. So long as North Korea chooses to remain outside of that order, they must face the consequences,' he said.

Obama also met with former President Lee Myung-bak at a hotel in Seoul on Monday.

The former US president previously addressed a crowd in Jakarta on Saturday during his family vacation in Indonesia to discuss climate change.

'In Paris, we came together around the most ambitious agreement in history about climate change, an agreement that even with the temporary absence of American leadership, can still give our children a fighting chance,' Obama said.

Trump shocked many countries last month by announcing he was pulling out of the Paris climate agreement.

'The challenges of our times, whether it's economic inequality, changing climate, terrorism, mass migration; these are really challenges and we're going to have to confront them together,' Obama said.

Obama also shared some wisdom about tolerance and taking the daily news cycle in stride, following another week of dust-ups between the media and Trump.

Barack Obama took a golf-cart tour of Bogor Palace in West Java on Friday, where he and his family are staying as guests of Indonesian President Joko Widodo (right)

Obama and Widodo were pictured later sitting down in the grounds of the palace over the weekend

The Obamas went whitewater rafting down the Ayung River during their 10-day visit to Indonesia

Trump was condemned by both Democrats and Republicans for a tweet that attacked female MSNBC host Mika Brzezinski.

In his remarks on Saturday, Obama stressed the importance of stepping away from news sites where only like-minded views are shared, and warned about social media giving rise to resentment of minorities and bad treatment of people.

Obama's speech came on the final leg of his 10-day vacation in Indonesia with wife Michelle and their daughters Malia and Sasha. It marked his first trip to Asia since leaving office.

The family visited two of the most treasured ancient temples - Borobudur, a Buddhist complex, and the Hindu compound of Prambanan - in the world's most populous Muslim country.

They also went river rafting and toured the resort island of Bali.

On Friday, Obama met Indonesian President Joko Widodo at the grand Bogor Palace in West Java, just outside Jakarta.