This famous saying comes from Confucius, and the next sentence is "If you are not alone, you must have neighbors".
This famous saying means that a virtuous person is bound to be accompanied by friends. In other words, as long as we do good things, we will have friends to help us, and as long as we do bad things, we will have friends to remind us. Therefore, we should do good things and do the right things to get real friends.
Confucius (551 BC-April 11th, 479 BC), whose surname was Kong's, whose name was Zhong Ni, was a native of (now Qufu City, Shandong Province) in the Spring and Autumn Period, and his ancestral home was Liyi City (now Xiayi County, Henan Province) in Song Dynasty, a great thinker, politician and educator in ancient China, the founder of Confucianism, and "Dacheng Zhi".
Confucius pioneered the private lecture style and advocated benevolence, righteousness, courtesy, wisdom and faith. There are 3, disciples, including 72 sages. He led some disciples to travel around the world for fourteen years. After the death of revising the Six Classics in his later years, his disciples and re-disciples recorded the words and deeds and thoughts of Confucius and his disciples and compiled them into The Analects. The book is regarded as a Confucian classic.
Life of the characters
Confucius' ancestor was a nobleman in Liyi (now Xiayi County, Henan Province) in Song Dynasty, and his ancestor was Shang Tang, the founding monarch of Shang Dynasty. After the Three Supervisors' Rebellion in the early Zhou Dynasty, in order to appease the nobles and descendants of Shang Dynasty, the Duke of Zhou, on the orders of Zhou Chengwang, appointed Wei Ziqi, the brother of Shang Zhouwang, to establish the Song State in Shangqiu, where he was worshipped by Yin Shang. After the death of Wei Ziqi, his younger brother Wei Zhong ascended the throne, and Wei Zhong was the 14th ancestor of Confucius.
the sixth ancestor got the Kong family, which was a blessing to Kong's father. Kong Fujia was a doctor of the Song Dynasty, once a fu, and his fief was located in Liyi, the Song Dynasty. Later, he was killed by Taizai Huadu in the civil strife in the court. Confucius' father Jia Zi's father Mu Jin, Mu Jin's father and son prayed for their father, praying for their son Kong Fang's uncle. Uncle Liang Gan, the grandson of Kong Fang's uncle, was Confucius' father. Uncle Liang Gan fled to the city of Lu (now Qufu City, Shandong Province) to avoid the war in the Song Dynasty and settled down. His official position was Doctor Qiao Yi.