PHOTO: CNN
Now playing
00:56
McCain blasts 'half-baked' nationalism
PHOTO: CNN
Now playing
01:08
Military flyover honors John McCain
Now playing
02:36
Obama makes guests laugh during McCain's eulogy
PHOTO: CNN
Now playing
02:12
Meghan McCain: A few resented my father's fire
Now playing
01:58
Meghan McCain: My dad was defined by love
Now playing
01:32
Lieberman: McCain floated idea of me on ticket
WASHINGTON, DC - SEPTEMBER 1: Cindy McCain looks on as a joint military service casket team carries the casket of the late Senator John McCain following his funeral service at the Washington National Cathedral, September 1, 2018 in Washington, DC. Former presidents Barack Obama and George W. Bush delivered eulogies for McCain in front of the 2,500 invited guests. McCain will be buried on Sunday at the U.S. Naval Academy Cemetery. (Photo by Drew Angerer/Getty Images)
PHOTO: Drew Angerer/Getty Images
WASHINGTON, DC - SEPTEMBER 1: Cindy McCain looks on as a joint military service casket team carries the casket of the late Senator John McCain following his funeral service at the Washington National Cathedral, September 1, 2018 in Washington, DC. Former presidents Barack Obama and George W. Bush delivered eulogies for McCain in front of the 2,500 invited guests. McCain will be buried on Sunday at the U.S. Naval Academy Cemetery. (Photo by Drew Angerer/Getty Images)
Now playing
03:31
Friends and family pay final tribute to McCain
Now playing
00:55
Mike Pence's remarks make McCain family smile
mccain lie in state capitol steps rain cupp vpx_00011010.jpg
PHOTO: CNN
mccain lie in state capitol steps rain cupp vpx_00011010.jpg
Now playing
01:45
Rain suddenly falls as McCain's casket escorted into Capitol
PHOTO: Larson Family Photos
Now playing
00:59
McCain will be buried next to his 'wingman'
PHOTO: Carolyn Kaster/AP
Now playing
02:35
Former Presidents honor John McCain
john mccain ernest hemingway
PHOTO: CNN
john mccain ernest hemingway
Now playing
03:03
How McCain helped save Ernest Hemingway's home
PHOTO: CNNI
Now playing
01:26
John McCain's hearse leaves his home
PHOTO: Chip Somodevilla / Getty Images
Now playing
01:12
Obama on McCain: We are all in his debt
PHOTO: CNN
Now playing
02:10
Former staffer jokes about McCain's driving
PHOTO: CNN
Now playing
00:58
McCain's former aide: He was an urgent man
Secretary of Defense James N. Mattis and Chairman of the Joint Chiefs of Staff Marine Gen. Joseph F. Dunford Jr. will brief the media on Tuesday, Aug. 28, at 10 a.m. EDT, in the Pentagon Briefing Room (2E973).  DAILY SCHEDULE: Secretary of Defense James N. Mattis and Chairman of the Joint Chiefs of Staff Marine Gen. Joseph F. Dunford Jr. brief the media at 10 a.m. EDT in the Pentagon Briefing Room (2E973). Both U.S. and foreign journalists without a Pentagon building pass must be pre-registered in the new Pentagon Visitor Management System to attend this briefing; plan on being escorted from the River Entrance Pedestrian Bridge or the Pentagon Metro Entrance Facility only. Please arrive no later than 45 minutes before the briefing; have proof of affiliation and photo identification. Please call 703-697-5131 for any questions and escort into the building. The briefing will also be streamed live on www.defense.gov/live.  Secretary of Defense James N. Mattis hosts an enhanced honor cordon welcoming Minister of Defense Ryamizard Ryacudu of Indonesia, to the Pentagon at 2:30 p.m. EDT on the steps of the River Entrance. All journalists desiring to cover the cordon must obtain a wristband from security screening. Journalists without a Pentagon facility access card must go through security screening at the base of the River Entrance Pedestrian Bridge, and will be escorted to the cordon from there. Security screening will begin at approximately 1:45 p.m. EDT; have proof of affiliation and two forms of photo identification. Journalists with a Pentagon facility access card, and whom have entered the building prior to 1:30 p.m. EDT, may go through security screening at the River Entrance to obtain their wristband. All journalists wishing to cover the honor cordon, including those with a Pentagon facility access card, must be in place no later than 2:15 p.m. EDT. Once security screening has been initiated at the base of the bridge, all journalists entering the building via the bridge for any reason, including those with a Pen
PHOTO: POOL
Secretary of Defense James N. Mattis and Chairman of the Joint Chiefs of Staff Marine Gen. Joseph F. Dunford Jr. will brief the media on Tuesday, Aug. 28, at 10 a.m. EDT, in the Pentagon Briefing Room (2E973). DAILY SCHEDULE: Secretary of Defense James N. Mattis and Chairman of the Joint Chiefs of Staff Marine Gen. Joseph F. Dunford Jr. brief the media at 10 a.m. EDT in the Pentagon Briefing Room (2E973). Both U.S. and foreign journalists without a Pentagon building pass must be pre-registered in the new Pentagon Visitor Management System to attend this briefing; plan on being escorted from the River Entrance Pedestrian Bridge or the Pentagon Metro Entrance Facility only. Please arrive no later than 45 minutes before the briefing; have proof of affiliation and photo identification. Please call 703-697-5131 for any questions and escort into the building. The briefing will also be streamed live on www.defense.gov/live. Secretary of Defense James N. Mattis hosts an enhanced honor cordon welcoming Minister of Defense Ryamizard Ryacudu of Indonesia, to the Pentagon at 2:30 p.m. EDT on the steps of the River Entrance. All journalists desiring to cover the cordon must obtain a wristband from security screening. Journalists without a Pentagon facility access card must go through security screening at the base of the River Entrance Pedestrian Bridge, and will be escorted to the cordon from there. Security screening will begin at approximately 1:45 p.m. EDT; have proof of affiliation and two forms of photo identification. Journalists with a Pentagon facility access card, and whom have entered the building prior to 1:30 p.m. EDT, may go through security screening at the River Entrance to obtain their wristband. All journalists wishing to cover the honor cordon, including those with a Pentagon facility access card, must be in place no later than 2:15 p.m. EDT. Once security screening has been initiated at the base of the bridge, all journalists entering the building via the bridge for any reason, including those with a Pen
Now playing
00:58
Mattis on McCain: US has lost a great patriot
Now playing
03:16
Vietnamese pay tribute to Sen. John McCain
PHOTO: Getty Images
Now playing
02:14
Daughter, Trump react to McCain's death
(CNN) —  

In a lofty and at moments pointed speech, Sen. John McCain on Monday cautioned against the US turning toward “half-baked, spurious nationalism” during an event honoring the war hero’s contributions.

Reflecting on his decades-long political history, McCain warned that to “fear” the world the US has led for the better part of a century, “abandon the ideals we have advanced around the globe” and “refuse the obligations of international leadership … for the sake of some half-baked, spurious nationalism cooked up by people who would rather find scapegoats than solve problems” is unpatriotic.

“As unpatriotic,” he continued, “as an attachment to any other tired dogma of the past that Americans consigned to the ash heap of history.”

The remarks came after McCain was honored with the Liberty Medal by the National Constitution Center in Philadelphia, months after being diagnosed in July with an aggressive form of brain cancer.

McCain used the moment – meant to mark his service to country – to warn US leadership against moving backward toward nationalistic, “America First” instincts espoused by some of President Donald Trump’s key advisers, without referring to Trump or his team by name. If allowed to take root, McCain cautioned, those tendencies could relegate the US to a backseat on the world stage, leaving a vacuum of power in its wake.

“We live in a land made of ideals, not blood and soil,” McCain said. “We are the custodians of those ideals at home, and their champion abroad. We have done great good in the world. That leadership has had its costs, but we have become incomparably powerful and wealthy as we did. We have a moral obligation to continue in our just cause, and we would bring more than shame on ourselves if we don’t. We will not thrive in a world where our leadership and ideals are absent. We wouldn’t deserve to.”

During a radio interview with Chris Plante on “The Chris Plante Show,” Trump said Tuesday he heard the criticism and warned “people” – namely McCain – to be careful.

“He was taking shots at your again yesterday,” Plante said. “You heard what he said yesterday, Sen. McCain?”

“Yeah, well I hear it. And people have to be careful because at some point I fight back,” Trump said. “I’m being very nice. I’m being very, very nice. But at some point I fight back and it won’t be pretty.”

When asked about Trump’s comments, McCain responded on Capitol Hill saying, “I’ve faced far greater challenges than this.”

Former Democratic Vice President Joe Biden, who is the chair of the Constitution Center, bestowed on Monday night the medal on his former Senate colleague, a US Navy aviator who was captured and held as a prisoner of war during the Vietnam War.

In his own remarks, Biden nodded to McCain’s diagnosis as well as his history serving in the US military.

“John, you have broken many times, physically and otherwise, and you have always grown stronger, but what you don’t really understand in my humble opinion is how much courage you give the rest of us looking at you,” Biden said.

McCain was elected to Congress in 1982, and over his decades in politics has served in both the US House of Representatives and the Senate.

The veteran lawmaker was honored with the medal “for his lifetime of sacrifice and service,” according to a Constitution Center description of the event.

Former President Barack Obama tweeted Monday congratulating McCain on the award.

“I’m grateful to @SenJohnMcCain for his lifetime of service to our country. Congratulations, John, on receiving this year’s Liberty Medal,” Obama wrote.

McCain, who also serves as the chairman of the Senate armed services committee, shared a statement on the honor on Twitter: “I’ve been blessed to spend my life serving something more important than myself, of being a bit player in the story of America #LibertyMedal”

The evening was also filled with patriotic anecdotes and stories from McCain’s personal narrative. McCain served in US Navy until 1981, and was famously a prisoner of war at Hỏa Lò Prison, nicknamed the Hanoi Hilton.

This summer, the Arizona senator was diagnosed with a primary glioblastoma, an aggressive type of brain tumor.

This story has been updated to add additional developments.

CNN’s Dan Merica and Kristin Wilson contributed to this report.