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
-
Insinuating Bagbin is not heeding calls for recall because he is NDC unfounded and unfortunate – Parliament
2 hours -
Ashanti, Nelly are engaged and expecting a baby
2 hours -
New Ghana train on test run involved in accident
2 hours -
World Bank, AfDB partner to provide 300m African’s with electricity access
3 hours -
Ghana wins preliminary ruling in Cassius Mining’s $300m international arbitration
3 hours -
Ghana’s revenue-to-GDP ratio to exceed 17% within next six years, but expenditure to remain flat – IMF
3 hours -
Gborbu Wulomo didn’t marry Naa Okromo – Chieftaincy Minister
3 hours -
Oquaye Jr. says he’s undeterred by ‘propaganda’ twist to viral laundry video
3 hours -
Ghana’s debt-to-GDP ratio to tumble to 69.7% in 2029 – IMF
3 hours -
Interior Ministry imposes 4pm to 7am curfew on Sampa
4 hours -
Child marriage: Teenage girl to be released to her family – Gender Minister-designate
4 hours -
Naa Okromo is 15 years old, still a virgin and not married to Gborbu Wulomo – Government
4 hours -
GhIE condemns intervention by Ashanti Regional Minister in ECG Affairs; commends ECG GM for upholding regulatory standards
4 hours -
GPL: Asantehene tasks Asante Kotoko to do ‘better’ after crucial meeting
4 hours -
Why Sam Jonah can’t trust Ghanaian journos to cover Election 2024 professionally
4 hours