Apple CEO Tim Cook firmly believes business leaders should do their part to help improve the world. In the years since he took the reins from the late Steve Jobs in 2011, he has donated millions of dollars in support of various human rights issues. While Cook is a notably private person, he became the first CEO of a Fortune 500 company to come out as gay in 2014.

Exposing his personal life may have cost him his privacy, but Cook has no regrets, he told Carlyle Group co-founder David Rubenstein on the June 13 episode of "The David Rubenstein Show." Ultimately, he says he "did it for a greater purpose."

"As I look at the world, many of the problems of the world come down to the lack of equality," Cook said.

"It's the fact that the kid that's born in one zip code who doesn't have a good education because they happen to be born in that zip code. It's someone that is maybe an LGBT community that is fired because of that. It's someone that has a different religion than the majority and therefore they're ostracized in some way."

For Cook, surrendering his privacy was worth it, since it meant giving lots of people a role model to look up to.

"It became clear to me that there were lots of kids out there that were not being treated well, including in their own families, and that kids need someone to say, 'Oh, they did okay in life, and they're gay so it must not be a life sentence in some kind of way,'" Cook said.