At a church service on Sunday, former President Jimmy Carter reflected on dying and expressed his thoughts on what would truly make American great.

"I, of course, thought I was going to die," said Carter, referring to his cancer diagnosis in 2015, during a Sunday school service at Maranatha Baptist Church in Plains, Georgia.

Carter's Sunday message was about belief in resurrection and life after death as a Christian. He recounted his cancer diagnosis after making a trip to monitor elections in Guyana. He said doctors had removed part of his liver and then later found cancer in his brain.

"I prayed about it and was at peace with it," he said at the service.

He did not talk about his recent falls or injuries. Carter suffered a minor pelvic fracture and was hospitalized late last month after falling at his Georgia home. It was the third fall for the nation's 39th president in recent months.

Carter, 95, had to get stitches above his brow after falling at his ranch house earlier in October. And in May, he underwent surgery after falling and breaking his hip while he was leaving to go turkey hunting.

© Mark Humphrey/AP, FILE Former President Jimmy Carter answers questions during a news conference at a Habitat for Humanity project, in Nashville, Tenn., Oct. 7, 2019.

During Sunday’s service he said his only concern about dying was missing his family and loved ones but said that he realized, as a Christian, he would see them again.

He said that when he was younger, he struggled with believing in life after death because as a scientist, he couldn't prove it. Now he feels at peace with his life.

Carter also briefly discussed politics during the service. He said he wished the U.S. could be a superpower in world peace and asked "Wouldn't it be good if the U.S. could be a super power for the environment or for equal rights?"

He made the congregation a promise to reach out to help someone who needs it. He said doing so would make America a better country and told church members it would make "you a better Christian."

© ABC News Former President Jimmy Carter speaks during a church service at the Maranatha Baptist Church in Plains, Ga., Nov. 3, 2019.

Carter is the oldest living former president in U.S. history. He and his wife, Rosalynn, have been married for more than 73 years, making them the longest-married presidential couple.

Despite his recent falls, the former president has kept busy and was spotted last month helping to build homes for Habitat for Humanity.

ABC News’ Morgan Winsor and Samara Lynn contributed to this report.