Confucius taught the respect for one's superiors (elders, leaders, husbands, parents), and believed that the hierarchical structural is a way for an effective society.
Additionally, he taught moral behaviour and "not doing to others as we don't want done to us."