Pele has joked that he is ready to play for Brazil after being released from hospital in Sao Paulo.
The 74-year-old admitted he had a "scare" after spending several days in intensive care.
After successful treatment for a urinary tract infection, the three-time World Cup-winner talked about helping his country to Olympic football gold in Rio in 2016.
He said: "I'm well and recovered, and now I am preparing for the Olympics."
Pele has only one kidney, having had one removed towards the end of his playing career.
He was admitted to Sao Paulo's Albert Einstein Hospital on 24 November after being diagnosed with a urinary tract infection that stemmed from surgery to remove kidney stones 11 days earlier.
The former Santos and New York Cosmos striker will continue recovering at home.
Pele at his news conference in Sao Paulo
He told a news conference: "I'd like to thank the doctors that took care of me. It was a real fight.
"I would like to thank God - and all friends that have sent me messages and were worried about me.
"It was something I was not expecting, but I was not afraid to die.
"I've had messages from China, Pakistan, from almost all the European countries.
"It is gratifying and good to know that I had the support of so many people around the world who were hoping the situation improved."
Pele continued with a joke, adding: "Now I am preparing for the Olympics. Three professionals can play in the Olympics and I'm one of the three!"
Latest Stories
-
Absa Bank driving shared value as a force for good
41 mins -
How railroads inspired the creation of time zones
1 hour -
Obituary: Obaapanin Janet Kissiwaa
1 hour -
We’ll equip you for the impending auto industry revolution – Napo assures auto mechanics
1 hour -
Mark Zuckerberg dines with Donald Trump at Mar-a-Lago
2 hours -
Documentary on Akufo-Addo’s achievements dubbed ‘Nana Addo: The Legacy of Leadership’ to premiere on Dec. 1
2 hours -
Lifebuoy Carbolic soap turns Madina market red with a massive relaunch
2 hours -
Liberia’s notorious rebel-turned-senator Johnson dies
2 hours -
British High Commissioner lauds Peace Pact, reaffirms UK’s support for Ghana’s democracy
2 hours -
Police won’t be the source of any disturbances to tarnish Ghana’s peace – IGP
2 hours -
Let’s forgive one another and push for victory – Napo appeals to NPP members
2 hours -
Africa’s incoming UN WHO boss dies aged 55
2 hours -
Fifi Kwetey takes high-octane campaign to Volta Region
3 hours -
40 women in Ashanti region empowered through MEST Africa’s digital marketing
3 hours -
Koa’s Cocoa Sustainability Imprint: Cocobod delegation, National Best Cocoa Farmers tour Koa’s facility
3 hours