"Parents have, brothers have no cause" means that both parents and brothers are alive without disaster, and there is no resentment between brothers. This is the first kind of happiness of a gentleman, that is, family happiness. China culture, especially Confucian culture, pays special attention to the happiness of human relations.
"Looking up at the sky and not caring about others" means not feeling guilty for the sky and not being ashamed. This is the second happy thing, which is the happiness of becoming a virtue.
"Educating talents in the world" means educating them by getting talents in the world, which is the third kind of happiness for a gentleman, that is, the joy of teachers and friends.