The Analects, also known as the Analects of Confucius, is an ancient Chinese book composed of a collection of sayings and ideas attributed to the Chinese philosopher Confucius and his contemporaries, traditionally believed to have been compiled and written by Confucius's followers. It is believed to have been written during the Warring States period (475221 BC), and it achieved its final form during the mid-Han dynasty (206 BC220 AD). By the early Han dynasty the Analects was considered merely a "commentary" on the Five Classics, but the status of the Analects grew to be one of the central texts of Confucianism by the end of that dynasty.
Confucius taught that a ruler's sense of virtue was his primary prerequisite for leadership. His primary goal in educating his students was to produce ethically well-cultivated men who would carry themselves with gravity, speak correctly, and demonstrate consummate integrity in all things.