Former US President Jimmy Carter was at Maranatha Baptist Church in Plains, Georgia on August 23 to deliver Sunday School lesson.
It was days after he announced that cancer has spread to his brain and started radiation treatment.
Hundreds of people lined up outside the church to listen to the 90-year-old deliver Bible lesson. He has been teaching Sunday school for more than three decades.
Mr Carter volunteered to deliver back-to-back Bible lessons because thousands of people had driven miles to be there and listen.
Church's pastor, Rev. Jeremy Shoulta said, "He wanted to accommodate as many people as possible. He voluntarily chose to do that, and ended up being able to teach just about everyone who showed up."
The theme of the lesson was 'love.' "That's sharing his faith and encouraging others to love one another. He did not miss a beat. It's hard to believe that he went through treatment just a few days ago, and comes to church today and does a marvelous job," said Shoulta.
Mr Carter who served as the 39th President of the US, spent just few minutes discussing about his health issues before talking about faith, love and relationships.
His teaching included the Sermon on the Mount in the Book of Matthew, from which he read, "I say to you love your enemies and pay for those who persecute you."
"President Carter taught on a subject that exemplifies who he is - loving your neighbor as yourself. People were tuned in and focused, and were receptive to his entire lesson. It was inspiring and it motivated everyone to continue on in their call, whatever challenge they may face themselves," said Shoulta.
Mr Carter said that when people were confronted by problems they should be ready to rely on their faith. "Any time, we can just bow our heads and say, 'God, I'm really troubled. I ask you to give me the strength to bear whatever is on my shoulders and to bear whatever comes to me'."
With his wife Rosalynn (69), he said the two had long resolved never go to sleep without settling their differences.
"Just being able to admit you MIGHT be mistaken and that the other person MIGHT be right will improve a relationship," said Mr Carter.