Confucius was a Chinese teacher in the 6th-5th century BCE who shaped Chinese social relationships and moral thought. While not famous during his lifetime, he taught sons of nobility and traveled with disciples, some of whom became officials. Confucius hoped to advise a powerful ruler to create an ideal world through relationships over laws, though he considered himself a failure for not gaining such a position.