Now playing
01:05
See Jimmy Carter teach Sunday school following injury
Now playing
00:00
WATCH CNN: House delivers article of impeachment against former President Trump to the Senate
WASHINGTON, DC - AUGUST 10:  The Trump International Hotel is shown on August 10, 2017 in Washington, DC.  The hotel, located blocks from the White House, has become both a tourist attraction in the nation
WASHINGTON, DC - AUGUST 10: The Trump International Hotel is shown on August 10, 2017 in Washington, DC. The hotel, located blocks from the White House, has become both a tourist attraction in the nation's capital and also a symbol of President Trump's intermingling of business and politics. (Photo by Win McNamee/Getty Images)
PHOTO: Win McNamee/Getty Images
Now playing
01:56
Why SCOTUS is dismissing emolument cases against Trump
PHOTO: CNN
Now playing
02:20
Legal analyst: Dominion's case looks pretty strong
John Avlon 0125
John Avlon 0125
PHOTO: CNN
Now playing
03:08
Avlon: The Republicans who stood up to Trump were our bulwark
Now playing
03:19
Some GOP lawmakers are defying Capitol security measures
PHOTO: CNN
Now playing
03:25
Biden's HHS secretary pick: If we do this, we will get the pandemic under control
Now playing
07:26
'What research did you do?': Brown presses GOP lawmaker on election fraud claims
PHOTO: CNN
Now playing
01:42
Acosta describes covering last day of Trump administration
WASHINGTON, DC - FEBRUARY 06: Rep. Alexandria Ocasio-Cortez (D-NY) attends a press conference with Rep. Andy Levin (D-MI) about their new bill called the EV Freedom Act on Capitol Hill on February 6, 2020 in Washington, DC. The EV Freedom Act is a plan to create a nation wide charging infrastructure for electric vehicles. (Photo by Samuel Corum/Getty Images)
WASHINGTON, DC - FEBRUARY 06: Rep. Alexandria Ocasio-Cortez (D-NY) attends a press conference with Rep. Andy Levin (D-MI) about their new bill called the EV Freedom Act on Capitol Hill on February 6, 2020 in Washington, DC. The EV Freedom Act is a plan to create a nation wide charging infrastructure for electric vehicles. (Photo by Samuel Corum/Getty Images)
PHOTO: Samuel Corum/Getty Images
Now playing
03:35
Rioter charged with threatening to 'assassinate' Ocasio-Cortez, officer
Now playing
02:41
Loyal Texas Trump voters want Biden to be less divisive
Now playing
01:16
Sen. Patrick Leahy doubles as a Batman actor
Now playing
01:33
Chuck Schumer announces timeline for Trump impeachment
WASHINGTON, DC - JANUARY 22: U.S. President Joe Biden signs an executive order as Vice President Kamala Harris looks on during an event on economic crisis in the State Dining Room of the White House January 22, 2021 in Washington, DC. President Biden spoke on his administration
WASHINGTON, DC - JANUARY 22: U.S. President Joe Biden signs an executive order as Vice President Kamala Harris looks on during an event on economic crisis in the State Dining Room of the White House January 22, 2021 in Washington, DC. President Biden spoke on his administration's response to the economic crisis that caused by the COVID-19 pandemic and signed two executive orders. (Photo by Alex Wong/Getty Images)
PHOTO: Alex Wong/Getty Images North America/Getty Images
Now playing
02:31
Biden zeroes in on the teetering economy in first week
White House senior adviser Kevin Hassett speaks with reporters at the White House, Friday, June 19, 2020, in Washington. (AP Photo/Alex Brandon)
White House senior adviser Kevin Hassett speaks with reporters at the White House, Friday, June 19, 2020, in Washington. (AP Photo/Alex Brandon)
PHOTO: Alex Brandon/AP
Now playing
05:08
Ex-Trump official who supports Biden stimulus plan speaks out
(CNN) —  

Former President Jimmy Carter said Sunday that he found he “was absolutely and completely at ease with death” after doctors told him in 2015 that his cancer had spread to his brain.

“I assumed, naturally, that I was going to die very quickly,” Carter said during a church service in Plains, Georgia. “I obviously prayed about it. I didn’t ask God to let me live, but I asked God to give me a proper attitude toward death. And I found that I was absolutely and completely at ease with death.”

“It didn’t really matter to me whether I died or lived. Except I was going to miss my family, and miss the work at the Carter Center and miss teaching your Sunday school service sometimes and so forth. All those delightful things,” the 39th president added, smiling.

The son of a peanut farmer who entered the US Naval Academy during World War II, Carter announced he beat cancer in December 2015 after he received experimental treatment for liver cancer that metastasized to his brain. During a news conference at the time, Carter said his fate was “in the hands of God” and vowed to continue teaching Sunday school at his church “as long as I’m physically able.”

When Carter celebrated his 95th birthday on October 1, he became the oldest living former US president, a title once held by the late George H. W. Bush, who died in late 2018 at age 94.

Carter teaches Sunday school lessons at Maranatha Baptist Church in his home state of Georgia, but after an October 21 fall in his home that led to a minor pelvic fracture, the church said he would miss his appearance. The church later announced the former president would teach as scheduled.

Carter, who has recently spoken out about the chaos of Washington, also touched on the state of the nation in the Sunday morning service.

“Wouldn’t it be nice if the United States of America could be a superpower in maintaining peace? … Suppose the United States was a super power in environmental policy. Suppose the United States was a superpower in treating people equally. See, that’s the kind of superpower I’d like to have,” said Carter Sunday, who once said that if he had one wish for the rest of his life it would be that he gets to see peace in the Middle East.

Carter said the United States would be a better country if people reached out to somebody who might need a friend.

“That’s the way to make the United States a superpower,” he said. “We can help the United States become more peaceful.”

CORRECTION: This story has been updated to more accurately describe Carter’s military service and to reflect that he teaches Sunday school class.

CNN’s Harmeet Kaur contributed to this report.