Confucius is traditionally credited with having authored or edited many of the Chinese classic texts including all of the Five Classics, but modern scholars are cautious of attributing specific assertions to Confucius himself. Aphorisms concerning his teachings were compiled in the Analects, but only many years after his death.
Confucius's principles had a basis in common Chinese tradition and belief. He championed strong family loyalty, ancestor worship, respect of elders by their children (and in traditional interpretations) of husbands by their wives. He also recommended family as a basis for ideal government. He espoused the well-known principle "Do not do to others what you do not want done to yourself", an early version of the Golden Rule..
Although Confucianism is often followed in a religious manner by the Chinese, arguments continue over whether it is a religion. Confucianism discusses elements of the afterlife and views concerning Heaven, but it is relatively unconcerned with some spiritual matters often considered essential to religious thought, such as the nature of souls.
In the Analects, Confucius presents himself as a "transmitter who invented nothing". He puts the greatest emphasis on the importance of study, and it is the Chinese character for study (學) that opens the text. Far from trying to build a systematic or formalist theory, he wanted his disciples to master and internalize the old classics, so that their deep thought and thorough study would allow them to relate the moral problems of the present to past political events (as recorded in the Annals) or the past expressions of commoners' feelings and noblemen's reflections (as in the poems of the Book of Odes).