"I'm very proud of it," the Apple (AAPL) CEO told Christiane Amanpour on Wednesday in an exclusive interview for her program on CNN International and PBS. Being gay is "God's greatest gift to me," he said.
Cook came out on October 30, 2014. His sexual orientation had been widely rumored beforehand though he had not confirmed it publicly.
"I was public because I started to receive stories from kids who read online that I was gay," he told Amanpour.
He said the emails and letters came from children who said they had been ostracized, bullied or abused because of their sexual orientation.
Cook said he is a private person but ultimately decided that he was being "selfish" by keeping quiet about his identity when he could help people by coming out.
"I needed to do something for them," Cook said. He wanted to demonstrate to gay children that they "can be gay and still go on and do some big jobs in life."
Cook said he was shocked that he was the first out CEO of a Fortune 500 company. He said he is glad other CEOs have come out since, although that wasn't his goal.
Coming out has also helped Cook as a leader, he said.
"I learned what it was like to be a minority," Cook told. "The feeling of being in a minority gives you a level of empathy for other people who are not in the majority."
Prejudicial comments have also given him a thick skin, Cook said.
"That turns out to be pretty beneficial from this role as well."
More about: TimCook