President Barack Obama speaks at Goalkeepers 2017, at Jazz at Lincoln Center on September 20, 2017 in New York City.
PHOTO: Jamie McCarthy/Getty Images for Bill & Melinda Gates Foundation
President Barack Obama speaks at Goalkeepers 2017, at Jazz at Lincoln Center on September 20, 2017 in New York City.
Now playing
01:01
Obama rips GOP attempts to repeal Obamacare
Now playing
02:15
Why is health care in the US so expensive?
WASHINGTON, DC - OCTOBER 04:  Senate Budget Committee ranking member Sen. Bernie Sanders (I-VT) attends a news conference critical of the Republican tax and budget plan at the U.S. Capitol October 4, 2017 in Washington, DC.  (Chip Somodevilla/Getty Images)
PHOTO: Chip Somodevilla/Getty Images
WASHINGTON, DC - OCTOBER 04: Senate Budget Committee ranking member Sen. Bernie Sanders (I-VT) attends a news conference critical of the Republican tax and budget plan at the U.S. Capitol October 4, 2017 in Washington, DC. (Chip Somodevilla/Getty Images)
Now playing
03:14
Fact check: The true cost of 'Medicare for all'
title: Chairman Orrin Hatch: Assessing the impact of tax reform | LIVE STREAM  duration: 01:25:52  sub-clip duration: 4:00  site: Youtube  author: null  published: Thu Mar 01 2018 10:30:11 GMT-0500 (Eastern Standard Time)  intervention: yes  description: In December, Congress passed the Tax Cuts and Jobs Act, the most sweeping overhaul of America's tax code in more than 30 years. How will the reduction in the corporate income tax rate and other features of the new tax law affect the US economy?    Please join AEI for remarks by Senate Finance Committee Chairman Orrin Hatch (R-UT) on the impact of the Tax Cuts and Jobs Act. After Chairman Hatch's remarks, an expert panel will discuss the legislation further.Watch other videos about "Topic"    Subscribe
PHOTO: american enterprise institute
title: Chairman Orrin Hatch: Assessing the impact of tax reform | LIVE STREAM duration: 01:25:52 sub-clip duration: 4:00 site: Youtube author: null published: Thu Mar 01 2018 10:30:11 GMT-0500 (Eastern Standard Time) intervention: yes description: In December, Congress passed the Tax Cuts and Jobs Act, the most sweeping overhaul of America's tax code in more than 30 years. How will the reduction in the corporate income tax rate and other features of the new tax law affect the US economy? Please join AEI for remarks by Senate Finance Committee Chairman Orrin Hatch (R-UT) on the impact of the Tax Cuts and Jobs Act. After Chairman Hatch's remarks, an expert panel will discuss the legislation further.Watch other videos about "Topic" Subscribe
Now playing
00:58
Sen. Hatch calls Obamacare supporters stupid
WASHINGTON, DC - OCTOBER 12:  U.S. President Donald Trump lisens during a nomination announcement at the East Room of the White House October 12, 2017 in Washington, DC. President Trump has nominated Nielsen to be the next homeland security secretary, the position that has left vacant by Chief of Staff John Kelly.  (Photo by Alex Wong/Getty Images)
PHOTO: Alex Wong/Getty Images North America/Getty Images
WASHINGTON, DC - OCTOBER 12: U.S. President Donald Trump lisens during a nomination announcement at the East Room of the White House October 12, 2017 in Washington, DC. President Trump has nominated Nielsen to be the next homeland security secretary, the position that has left vacant by Chief of Staff John Kelly. (Photo by Alex Wong/Getty Images)
Now playing
01:49
Trump ends insurance subsidies for poor people
Now playing
00:53
Rep. Dent: Republicans own Obamacare now
Mick Mulvaney Obamacare subsidies CSR payments tsr_00000000.jpg
Mick Mulvaney Obamacare subsidies CSR payments tsr_00000000.jpg
Now playing
02:46
Trump official defends ending Obamacare subsidies
rick and bubba show trump
PHOTO: Rick & Bubba Show
rick and bubba show trump
Now playing
01:43
Trump: McCain 'no' vote is a slap in the face
9/25/17, CNN, Washington, D.C. 

Sens. Bill Cassidy (R-La.), Lindsey Graham (R-S.C.), Amy Klobuchar (D-Minn.), and Bernie Sanders (I-Vt.) speak at a CNN townhall debate on healthcare at the CNN headquarters in Washington, D.C. on Sept. 25, 2017. 

Gabriella Demczuk / CNN
PHOTO: Gabriella Demczuk for CNN
9/25/17, CNN, Washington, D.C. Sens. Bill Cassidy (R-La.), Lindsey Graham (R-S.C.), Amy Klobuchar (D-Minn.), and Bernie Sanders (I-Vt.) speak at a CNN townhall debate on healthcare at the CNN headquarters in Washington, D.C. on Sept. 25, 2017. Gabriella Demczuk / CNN
Now playing
02:26
Watch highlights from CNN's health care debate
Now playing
00:51
Sanders: Can't understand attacking McCain
Now playing
01:18
Sen. Graham: I will work with anyone
Now playing
01:50
Cassidy takes on the 'Jimmy Kimmel test'
Now playing
01:06
Klobuchar says Trump should work with Dems
Now playing
01:25
Graham on health bill: It's OK to fall short
WASHINGTON, DC - JULY 26:  U.S. Sen. Susan Collins (R-ME) heads for the Senate Floor for a vote at the U.S. Capitol July 26, 2017 in Washington, DC. GOP efforts to pass legislation to repeal and replace the Affordable Care Act, also known as Obamacare, were dealt setbacks when a mix of conservative and moderate Republican senators joined Democrats to oppose procedural measures on the bill.  (Photo by Chip Somodevilla/Getty Images)
PHOTO: Chip Somodevilla/Getty Images
WASHINGTON, DC - JULY 26: U.S. Sen. Susan Collins (R-ME) heads for the Senate Floor for a vote at the U.S. Capitol July 26, 2017 in Washington, DC. GOP efforts to pass legislation to repeal and replace the Affordable Care Act, also known as Obamacare, were dealt setbacks when a mix of conservative and moderate Republican senators joined Democrats to oppose procedural measures on the bill. (Photo by Chip Somodevilla/Getty Images)
Now playing
01:23
Sen. Collins a 'no' on Graham-Cassidy bill
Senator Lindsey Graham (C), R-SC, stands with Senator Bill Cassidy, R-LA, Senator Dean Heller (L), and Senator Ron Johnson, R-WI, as well as former Senator Rick Santorum (R), to announce their legislation to repeal and replace Obamacare through block grants on Capitol Hill in Washington, DC, on September 13, 2017.   / AFP PHOTO / JIM WATSON        (Photo credit should read JIM WATSON/AFP/Getty Images)
PHOTO: JIM WATSON/AFP/AFP/Getty Images
Senator Lindsey Graham (C), R-SC, stands with Senator Bill Cassidy, R-LA, Senator Dean Heller (L), and Senator Ron Johnson, R-WI, as well as former Senator Rick Santorum (R), to announce their legislation to repeal and replace Obamacare through block grants on Capitol Hill in Washington, DC, on September 13, 2017. / AFP PHOTO / JIM WATSON (Photo credit should read JIM WATSON/AFP/Getty Images)
Now playing
01:12
CBO: Millions uninsured under Graham-Cassidy

Story highlights

Obama delivered a keynote address at a Gates Foundation event

This fall, Obama is due to make more public appearances

(CNN) —  

In a rare public appearance eight months after leaving office, former President Barack Obama took shots at his successor’s plans on health care and foreign policy but didn’t criticize him by name.

In a speech and question-and-answer session that closely resembled the types of appearances he favored as president, Obama called repeated efforts to repeal his signature health care law “frustrating.” He defended institutions like the United Nations as essential to collective diplomacy. And he warned against nationalism and xenophobia, saying they threaten to stymie progress that has made the world more livable.

“It may be frustrating that we have to mobilize every couple months to keep our leaders from inflicting real human suffering on their constituents,” Obama said of the health care battle. “But typically, that’s how progress is won.”

Obama’s speech at an event sponsored by the Bill and Melinda Gates Foundation came during Trump’s first trip to the UN General Assembly, the yearly gathering of diplomats in New York. As Obama spoke, Trump was shuttling between meetings with the leaders of the Palestinian Authority and various countries in Africa.

If Trump’s campaign message and governing philosophy has been focused on repairing a damaged country, Obama offered a starkly different view on Wednesday, focusing instead on the advantages Americans currently enjoy compared to moments in the past.

READ: Obama’s speech at Gates Foundation

“We just have to reject the notion that we are suddenly gripped by forces that we can’t control, and embrace the longer, more optimistic view of history and the part that we play in it,” he said. “I know that statement doesn’t seem to jibe with the steady stream of bad news and cynicism we’re fed on television and Twitter,” he said.

Obama has largely avoided criticizing his Trump since the handoff of power in January, though he has released statements on Facebook decrying decisions Trump has made over the course of his presidency.

He was sharply critical of Trump’s plan to end a program shielding certain young immigrants from deportation, and he has been critical of attempts to repeal and replace the Affordable Care Act.

In other areas, however, Obama has expressed more veiled displeasure. He didn’t respond directly to Trump’s equivocal comments about white supremacist violence in Virginia, instead tweeting a quote from Nelson Mandela (the tweet became the most liked of all time).

The two men have not spoken since January, and their relationship is marked more by animosity than a shared respect at having both held the same office.

On Wednesday, Obama followed the classic post-presidential etiquette of not directly criticizing the sitting president – even as he offered an example of praise for George W. Bush.

In a friendly question-and-answer session led by Bill and Melinda Gates, Obama argued that Americans should be willing to acknowledge when “someone from a different political persuasion has done something really good.”

He did not cite any policy from the Trump presidency, however, but rather one from the Bush administration: the PEPFAR program to combat AIDS in Africa. Obama called it an “achievement that we needed to build on.”

“I feel as if, these days within our political circles, that it’s a hard thing to bring ourselves to do,” Obama said.

He offered only implicit rebukes of Trump, saying there are no practical benefits to a bill Republicans are considering to replace the Affordable Care Act.

Speaking in New York, Obama said the bill would increase costs and strip coverage from vulnerable Americans.

“When I see people trying to undo that hard-won progress, for the 50th or 60th time, with bills that will raise costs, reduce coverage and roll back protections for older Americans and people with pre-existing conditions…it is aggravating,” Obama said.

And he decried a decision by the Trump administration to withdraw from the Paris climate accord, saying the move was misguided.

“Even if the federal government is not as engaged on these efforts as I would like,” the world is still making progress on climate change, Obama said.

Obama has reemerged in public infrequently since leaving the White House in January, focused instead on writing a memoir and traveling. He has spoken at a smattering of events for his own foundation, and appeared in Europe in May with German Chancellor Angela Merkel.

This fall, Obama is due to appear more, holding events for Democrats running in an off-election year, including gubernatorial candidates in New Jersey and Virginia.

The event where he appeared Tuesday was organized to unveil a new “Goalkeepers” report that assesses a set of indicators pegged to the Global Goals, targets set by the United Nations in 2015 focused on reducing poverty and improving health. The report tracks statistics on child mortality, HIV rates and other areas to identify areas of need and single out successful methods for success.

Other speakers at Tuesday’s event include Canadian Prime Minister Justin Trudeau, with whom Obama enjoyed a friendship while in office, and Malala Yousafzai, the Pakistani female education activist.