Foggy, 49, suffered from the mental illness for three years after retiring from Superbike racing and has admitted his wife Michaela took the brunt of it.
The sportsman had hoped to make Michaela "proud" by going on I'm A Celebrity and, considering he is now King Of The Jungle, it seems he did just that.
Foggy told The Sun that, at his lowest ebb, it was his best friend Mark Winstanley who encouraged him to break free from his unhappiness.
Tragically, Mark has since died following a battle with cancer.
"Mark stopped me from whinging about who I was," Foggy said. "He said, 'Look at me you f***ing d***. I'm dying and you keep complaining because of who you are'."
He added: "When he died, it left a massive a massive hole, but what he said was the kick up the ar*e I needed."
On Sunday night, Foggy was crowned this year's winner of I'm A Celebrity and collapsed on the floor with emotion when his name was read out.
He had found himself if the final two with former X Factor star Jake Quickenden and seemed seriously shocked to have won.
During an interview with Good Morning Britain on Monday, Foggy said he couldn't work out "why" fans would have voted for him.
"I'm just thinking why? What have I done?" he exclaimed. "I'm so thankful to the British public, I really am."
Last night, Foggy joined the rest of his campmates at the I'm A Celebrity wrap party. They are due to fly home to the UK in the coming days.
Watch Foggy as he is crowned King Of The Jungle below: