Dog Whisperer Cesar Millan thought his life had gone to the dogs and is now opening up about his attempted suicide attempt three years ago.

In a new Rock Center with Brian Williams interview, airing Friday, June 14, Millan, opens up about his demons. 

"I took a whole bunch of pills," he said. 

Millian, 43, explained that he was going through a tough time and thought his life was falling apart. His beloved pit bull Daddy had died, and days later, his wife of 16 years told him she wanted a divorce. He also discovered he was in a financial crisis.

"It's like, 'Okay, I'm a failure. The reason why this has happened is because of me," he said.

Thankfully, his two teenage sons found him and called paramedics. 

And when he landed in a psychiatric hospital, Millan discovered he was surrounded by patients who were fans that loved his work. 

"That gave me -- a sense of belonging," he said. "I got a sense of purpose. I like to have a purpose in life." 

Today, he has started a new show Cesar Millan's Leader of the Pack and mended his relationship with his children.

"What makes you wise in life is not the successes," he said. "It's when you go down and come back." 

The interview airs June 14, at 10 p.m. ET on NBC.