The verses in "Disciple Rules" about making careless friends are: You will be angry when you hear it, you will be happy when you hear praise, you will bring harm to your friends, but you will lose your beneficial friends; you will be frightened when you hear the praise, but you will be happy when you hear it.
The meaning of this sentence is: If you get angry when you hear criticism from others, and you are happy when you hear praise from others, bad friends will come to you, and good friends will leave you; listen When others praise you, be afraid of overpraising yourself; when you hear others criticize yourself, accept it happily, and your mentors and helpful friends will gradually get closer to you.
"Disciple Regulations", formerly known as "Xun Mengwen", was written by Li Yuxiu, a scholar during the Kangxi period of the Qing Dynasty, according to research by Wang Junhong, a scholar of Chinese studies. Its content adopts the textual meaning of Article 6 of the "Xue Er Pian" of "The Analects of Confucius", which lists the rules and regulations that disciples should abide by at home, when going out, treating others, interacting with things, and studying. Later, it was revised and adapted by Jia Cunren of the Qing Dynasty and renamed "Disciples' Regulations". It records 108 words and deeds of Confucius. There are 360 ??sentences and 1,080 words, three to one sentence, two or four sentences that connect the meaning, rhyme together, and are catchy. The whole article is first a "general narration" and then divided into sections. It consists of seven parts: "filial piety when entering, brotherhood when going out, sincerity, trust, universal love for all, kindness, and remaining literary".