The 55-year-old comedian revealed that his late "Saturday Night Live" castmates John Belushi, who died from a cocaine and heroin overdose in 1982, and actor Robin Williams, who committed suicide two years ago, offered him drugs but he refused, reported Female First.
"I don't drink. I don't have like this moral thing about it, I just don't do it and I didn't get high.
"(One night out) Belushi and Robin Williams offered me some cocaine and I didn't take it. Then, years later, I was like, Wow, that's a trip. (If I'd accepted it) The Eddie Murphy story would have been totally different," he said.
"There are a bunch of things like that that I look back on and be like, 'Wow.' And that just reaffirms my faith. I know that God is real. There's been a bunch of times when I could have wound up crashing and burning," he added.